Class Channel
- Namespace
- Fluxer.Net
- Assembly
- Fluxer.Net.dll
Fluxer entity with client attached.
public class Channel : PartialChannel, IChannel, IPartialChannel, ISnowflake, IMentionable
- Inheritance
-
objectChannel
- Implements
- Derived
- Inherited Members
- Extension Methods
Properties
AppliedTags
public ulong[]? AppliedTags { get; }
Property Value
- ulong[]
Bitrate
The bitrate of the voice channel in bits per second.
public int? Bitrate { get; }
Property Value
- int?
ContentWarningLevel
public GuildContentWarning? ContentWarningLevel { get; }
Property Value
ContentWarningText
public string? ContentWarningText { get; }
Property Value
DefaultAutoArchiveDuration
public ThreadArchiveDuration? DefaultAutoArchiveDuration { get; }
Property Value
DefaultLayout
public ForumLayout? DefaultLayout { get; }
Property Value
DefaultRateLimitPerUser
public int? DefaultRateLimitPerUser { get; }
Property Value
- int?
DefaultReactionEmoji
public ForumReactionEmoji? DefaultReactionEmoji { get; }
Property Value
DefaultSortOrder
public ForumSortOrder? DefaultSortOrder { get; }
Property Value
Flags
public ChannelFlags Flags { get; }
Property Value
ForumTags
public ForumTag[]? ForumTags { get; }
Property Value
- ForumTag[]
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
- int?
RateLimitPerUser
The slowmode for this channel to limit messages per second.
public int? RateLimitPerUser { get; }
Property Value
- int?
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
ThreadMember
public ThreadMember? ThreadMember { get; }
Property Value
ThreadMetadata
public ThreadMetadata? ThreadMetadata { get; set; }
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?
VoiceConnectionLimit
The maximum number of connections a user can have in the voice channel.
public int? VoiceConnectionLimit { get; set; }
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