Search Results for

    Show / Hide Table of Contents

    Struct ChannelInfo

    Represents information for a channel.

    Namespace: Discord.Rest
    Assembly: Discord.Net.Rest.dll
    Syntax
    public struct ChannelInfo

    Properties

    | Improve this Doc View Source

    Bitrate

    Gets the bit-rate of this channel if applicable.

    Declaration
    public readonly int? Bitrate { get; }
    Property Value
    Type Description
    Nullable<Int32>

    An representing the bit-rate set for the voice channel; null if this is not mentioned in this entry.

    | Improve this Doc View Source

    ChannelType

    Gets the type of this channel.

    Declaration
    public readonly ChannelType? ChannelType { get; }
    Property Value
    Type Description
    Nullable<ChannelType>

    The channel type of this channel; null if not applicable.

    | Improve this Doc View Source

    IsNsfw

    Gets the value that indicates whether this channel is NSFW.

    Declaration
    public readonly bool? IsNsfw { get; }
    Property Value
    Type Description
    Nullable<Boolean>

    true if this channel has the NSFW flag enabled; otherwise false. null if this is not mentioned in this entry.

    | Improve this Doc View Source

    Name

    Gets the name of this channel.

    Declaration
    public readonly string Name { get; }
    Property Value
    Type Description
    String

    A string containing the name of this channel.

    | Improve this Doc View Source

    SlowModeInterval

    Gets the current slow-mode delay of this channel.

    Declaration
    public readonly int? SlowModeInterval { get; }
    Property Value
    Type Description
    Nullable<Int32>

    An representing the time in seconds required before the user can send another message; 0 if disabled. null if this is not mentioned in this entry.

    | Improve this Doc View Source

    Topic

    Gets the topic of this channel.

    Declaration
    public readonly string Topic { get; }
    Property Value
    Type Description
    String

    A string containing the topic of this channel, if any.

    Theme

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