Search Results for

    Show / Hide Table of Contents

    Class SocketCategoryChannel

    Represents a WebSocket-based category channel.

    Inheritance
    Object
    SocketEntity<UInt64>
    SocketChannel
    SocketGuildChannel
    SocketCategoryChannel
    Implements
    IEntity<UInt64>
    ICategoryChannel
    IGuildChannel
    IChannel
    ISnowflakeEntity
    IEntity<UInt64>
    IDeletable
    Inherited Members
    SocketGuildChannel.Guild
    SocketGuildChannel.Name
    SocketGuildChannel.Position
    SocketGuildChannel.Flags
    SocketGuildChannel.PermissionOverwrites
    SocketGuildChannel.ModifyAsync(Action<GuildChannelProperties>, RequestOptions)
    SocketGuildChannel.DeleteAsync(RequestOptions)
    SocketGuildChannel.GetPermissionOverwrite(IUser)
    SocketGuildChannel.GetPermissionOverwrite(IRole)
    SocketGuildChannel.AddPermissionOverwriteAsync(IUser, OverwritePermissions, RequestOptions)
    SocketGuildChannel.AddPermissionOverwriteAsync(IRole, OverwritePermissions, RequestOptions)
    SocketGuildChannel.RemovePermissionOverwriteAsync(IUser, RequestOptions)
    SocketGuildChannel.RemovePermissionOverwriteAsync(IRole, RequestOptions)
    SocketGuildChannel.ToString()
    SocketGuildChannel.IGuildChannel.Guild
    SocketChannel.CreatedAt
    SocketEntity<UInt64>.Id
    Namespace: Discord.WebSocket
    Assembly: Discord.Net.WebSocket.dll
    Syntax
    public class SocketCategoryChannel : SocketGuildChannel, IEntity<ulong>, ICategoryChannel, IGuildChannel, IChannel, ISnowflakeEntity, IEntity<ulong>, IDeletable

    Properties

    | Improve this Doc View Source

    Channels

    Gets the child channels of this category.

    Declaration
    public IReadOnlyCollection<SocketGuildChannel> Channels { get; }
    Property Value
    Type Description
    IReadOnlyCollection<SocketGuildChannel>

    A read-only collection of SocketGuildChannel whose CategoryId matches the snowflake identifier of this category channel.

    | Improve this Doc View Source

    Users

    Gets a collection of users that are able to view the channel.

    Declaration
    public override IReadOnlyCollection<SocketGuildUser> Users { get; }
    Property Value
    Type Description
    IReadOnlyCollection<SocketGuildUser>

    A read-only collection of users that can access the channel (i.e. the users seen in the user list).

    Overrides
    SocketGuildChannel.Users
    Remarks

    If this channel is a voice channel, use ConnectedUsers to retrieve a collection of users who are currently connected to this channel.

    Methods

    | Improve this Doc View Source

    GetUser(UInt64)

    Declaration
    public override SocketGuildUser GetUser(ulong id)
    Parameters
    Type Name Description
    UInt64 id
    Returns
    Type Description
    SocketGuildUser
    Overrides
    SocketGuildChannel.GetUser(UInt64)

    Implements

    IEntity<TId>
    ICategoryChannel
    IGuildChannel
    IChannel
    ISnowflakeEntity
    IEntity<TId>
    IDeletable

    Theme

    • Improve this Doc
    • View Source
    In This Article
    Back to top Discord.Net (c) 2015-2023 3.10.0