Class SocketCategoryChannel
Represents a WebSocket-based category channel.
public class SocketCategoryChannel : SocketGuildChannel, ICategoryChannel, IGuildChannel, IChannel, ISnowflakeEntity, IEntity<ulong>, IDeletable
- Inheritance
-
SocketCategoryChannel
- Implements
- Inherited Members
- Extension Methods
Properties
Channels
Gets the child channels of this category.
public IReadOnlyCollection<SocketGuildChannel> Channels { get; }
Property Value
- IReadOnlyCollection<SocketGuildChannel>
A read-only collection of SocketGuildChannel whose CategoryId matches the snowflake identifier of this category channel.
Users
Gets a collection of users that are able to view the channel.
public override IReadOnlyCollection<SocketGuildUser> Users { get; }
Property Value
- IReadOnlyCollection<SocketGuildUser>
A read-only collection of users that can access the channel (i.e. the users seen in the user list).
Remarks
If this channel is a voice channel, use ConnectedUsers to retrieve a collection of users who are currently connected to this channel.
Methods
GetUser(ulong)
public override SocketGuildUser GetUser(ulong id)
Parameters
id
ulong