Class Channel
public class Channel : PartialChannel, IChannel, IPartialChannel, ISnowflake, IMentionable
- Inheritance
-
objectChannel
- Implements
- Derived
- Inherited Members
- Extension Methods
Properties
Bitrate
The bitrate of the voice channel in bits per second.
public int? Bitrate { get; }
Property Value
- int?
GuildId
The unique identifier (snowflake) for guild of this channel.
public ulong? GuildId { get; }
Property Value
IconHash
The icon hash of the channel (for group DMs).
public string? IconHash { get; }
Property Value
IndexedAt
public DateTimeOffset? IndexedAt { get; }
Property Value
IsNsfw
Whether the channel is marked as NSFW.
public bool IsNsfw { get; }
Property Value
IsSoftDeleted
public bool IsSoftDeleted { get; }
Property Value
LastMessageId
The ID of the last message sent in this channel.
public ulong? LastMessageId { get; }
Property Value
LastPinAt
The ISO 8601 timestamp of when the last pinned message was pinned.
public DateTimeOffset? LastPinAt { get; }
Property Value
Nicknames
Custom nicknames for users in this channel (for group DMs)
public Dictionary<string, string>? Nicknames { get; }
Property Value
OwnerId
The ID of the owner of the channel. (for group DMs)
public ulong? OwnerId { get; }
Property Value
ParentId
The ID of the parent category for this channel.
public ulong? ParentId { get; }
Property Value
PermissionOverwrites
public IEnumerable<PermissionOverwrite>? PermissionOverwrites { get; }
Property Value
Position
The position of the channel relative to other channels.
public int Position { get; }
Property Value
RateLimitPerUser
The slowmode for this channel to limit messages per second.
public int RateLimitPerUser { get; }
Property Value
RecipientIds
The recipients of the DM channel.
public HashSet<ulong>? RecipientIds { get; }
Property Value
RtcRegion
The voice region ID for the voice channel.
public string? RtcRegion { get; }
Property Value
Topic
The topic of the channel.
public string? Topic { get; }
Property Value
Url
The URL associated with the channel.
public string? Url { get; }
Property Value
UserLimit
The maximum number of users allowed in the voice channel.
public int? UserLimit { get; }
Property Value
- int?
Methods
Create(FluxerBaseClient, ChannelJson)
Create a Channel object from json.
public static Channel Create(FluxerBaseClient client, ChannelJson json)
Parameters
clientFluxerBaseClientjsonChannelJson
Returns
TextableTypes(ChannelType)
Channel types that you can send messages to.
public static bool TextableTypes(ChannelType type)
Parameters
typeChannelType