Expand description
Channels: guild text, voice, forum and media channels, threads and direct messages.
A Channel is an enum with one variant per ChannelType, each holding a struct with
the fields that kind of channel has (D-057).
Structs§
- Category
Channel - A category that organizes channels.
- Channel
Flags - Flags of a channel.
- Default
Reaction - The emoji of the add-reaction button on posts of a forum or media channel. Exactly one of the fields is set.
- Directory
Channel - The directory channel of a Student Hub.
- DmChannel
- A direct message between the current user and one other user.
- Followed
Channel - The result of following an announcement channel.
- Forum
Channel - A forum or media channel: it only contains threads (posts).
- Forum
Tag - A tag that can be applied to posts of a forum or media channel.
- Group
DmChannel - A direct message between several users.
- Overwrite
- A permission overwrite: permissions explicitly allowed or denied for a role or member in a channel.
- Text
Channel - A text or announcement channel in a guild.
- Thread
Channel - A thread: a temporary sub-channel of a text, announcement, forum or media channel.
- Thread
Member - A user’s membership in a thread.
- Thread
Member Flags - The settings of a
ThreadMember, currently about notifications. - Thread
Metadata - Thread-specific data.
- Unknown
Channel - A channel of a
ChannelTypethis version of the library does not know about. Only the fields every channel has are kept. - Voice
Channel - A voice or stage channel in a guild.
Enums§
- Auto
Archive Duration - After how many minutes of inactivity a thread is archived (hidden from the channel list). Discord only accepts these values.
- Channel
- A channel of any kind (D-057).
- Channel
Type - The type of a channel.
- Forum
Layout Type - How the posts of a forum channel are displayed.
- Overwrite
Type - Whether an
Overwriteis for a role or a member. - Sort
Order Type - How the posts of a forum or media channel are sorted.
- Video
Quality Mode - The camera video quality of a voice channel.