Struct ChannelInfo
Represents information for a channel.
Namespace: Discord.Rest
Assembly: Discord.Net.Rest.dll
Syntax
public struct ChannelInfo
Properties
| Improve this Doc View SourceBitrate
Gets the bit-rate of this channel if applicable.
Declaration
public readonly int? Bitrate { get; }
Property Value
Type | Description |
---|---|
Nullable<Int32> | An |
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; |
IsNsfw
Gets the value that indicates whether this channel is NSFW.
Declaration
public readonly bool? IsNsfw { get; }
Property Value
Type | Description |
---|---|
Nullable<Boolean> |
|
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. |
SlowModeInterval
Gets the current slow-mode delay of this channel.
Declaration
public readonly int? SlowModeInterval { get; }
Property Value
Type | Description |
---|---|
Nullable<Int32> | An |
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. |