#️⃣Channels

chevron-rightChannelhashtag

string Id

DateTime CreatedAt

ChannelType Type

circle-info

Missing channel types will use UnknownChannel and UnknownServerChannel if they are not implemented in the lib yet.

chevron-rightChannelTypehashtag

Here is a list of channel types that you can cast to DMChannel, GroupChannel, ServerChannel, TextChannel and VoiceChannel

Cast a channel using Text = Channel as TextChannel that may be null or use if (Channel is TextChannel Text)

chevron-rightChannelUpdatedPropertieshashtag

Optional<string> Name

Optional<bool> Active

Optional<Attachment?> Icon

Optional<string> Description

Optional<ChannelPermissions> DefaultPermissions

Optional<Dictionary<string, ChannelPermissions>> RolePermissions

Optional<bool> Nsfw

Optional<string> OwnerId

chevron-rightDMChannelhashtag

Contains all properties from Channel

bool Active

string UserId

User? User

string? LastMessageId

chevron-rightGroupChannelhashtag

Contains all properties from Channel

ChannelPermissions Permissions

IReadOnlyCollection<User> Users

string? LastMessageId

string OwnerId

User? Owner

string Name

string? Description

Attachment? Icon

bool IsNsfw

chevron-rightServerChannelhashtag

Contains all properties from Channel

string ServerId

Server? Server

ChannelPermissions DefaultPermissions

IReadOnlyCollection<ChannelPermissions> RolePermissions

string Name

string? Description

Attachment? Icon

bool HasPermission(ServerMember, ChannelPermission)

chevron-rightTextChannelhashtag

Contains all properties from Channel and ServerChannel

string? LastMessageId

bool IsNsfw

chevron-rightVoiceChannelhashtag

Contains all properties from Channel and ServerChannel

Last updated