ChannelType
Here is a list of channel types that you can cast to
, , , and
Cast a channel using Text = Channel as TextChannel
that may be null
or use if (Channel is TextChannel Text)
ChannelUpdatedProperties
Optional<string> Name
Optional<bool> Active
Optional<?> Icon
Optional<string> Description
Optional<> DefaultPermissions
Optional<Dictionary<string, >> RolePermissions
Optional<bool> Nsfw
Optional<string> OwnerId
DMChannel
Contains all properties from
bool Active
string UserId
? User
string? LastMessageId
GroupChannel
Contains all properties from
Permissions
IReadOnlyCollection<> Users
string? LastMessageId
string OwnerId
? Owner
string Name
string? Description
? Icon
bool IsNsfw