Expand description
Models relating to channels and types within channels.
Structs§
- Attachment
- A file uploaded with a message. Not to be confused with
Embed
s. - Channel
Flags - Describes extra features of the channel.
- Channel
Mention - Discord docs.
- Count
Details - A representation of reaction count details.
- Embed
- Represents a rich embed which allows using richer markdown, multiple fields and more. This was heavily inspired by slack’s attachments.
- Embed
Author - An author object in an embed.
- Embed
Field - A field object in an embed.
- Embed
Footer - Footer information for an embed.
- Embed
Image - An image object in an embed.
- Embed
Provider - The provider of an embed.
- Embed
Thumbnail - The dimensions and URL of an embed thumbnail.
- Embed
Video - Video information for an embed.
- Followed
Channel - A container for the IDs returned by following a news channel.
- Forum
Tag - An object that represents a tag able to be applied to a thread in a
GUILD_FORUM
channel. - Guild
Channel - Represents a guild’s text, news, or voice channel.
- Message
- A representation of a message over a guild’s text channel, a group, or a private channel.
- Message
Activity - Rich Presence activity information.
- Message
Application - Rich Presence application information.
- Message
Flags - Describes extra features of the message.
- Message
Reaction - A representation of a reaction to a message.
- Message
Reference - Reference data sent with crossposted messages.
- Messages
Iter - A helper class returned by
ChannelId::messages_iter
- Partial
Channel - A container for any partial channel.
- Partial
Guild Channel - A partial guild channel.
- Permission
Overwrite - A channel-specific permission overwrite for a member or role.
- Poll
- A poll that has been attached to a
Message
. - Poll
Answer - A possible answer for a
Poll
. - Poll
Answer Count - The count of a single
PollAnswer
’s results. - Poll
Media - A piece of data used in mutliple parts of the
Poll
structure. - Poll
Results - The model for the results of a
Poll
. - Private
Channel - A Direct Message text channel with another user.
- Reaction
- An emoji reaction to a message.
- Reaction
Conversion Error - Role
Subscription Data - Discord docs
- Stage
Instance - Discord docs.
- Thread
Metadata - A thread data.
- Threads
Data - A response to getting several threads channels.
Enums§
- Auto
Archive Duration - See
ThreadMetadata::auto_archive_duration
. - Channel
- A container for any channel.
- Channel
Type - A representation of a type of channel.
- Forum
Emoji - An object that specifies the emoji to use for Forum related emoji parameters.
- Forum
Layout Type - See
GuildChannel::default_forum_layout
. - Message
Activity Kind - Discord docs.
- Message
Reference Kind - Message Reference Type information
- Message
Type - Differentiates between regular and different types of system messages.
- Nonce
- Permission
Overwrite Type - The type of edit being made to a Channel’s permissions.
- Poll
Layout Type - Represents the different layouts that a
Poll
may have. - Poll
Media Emoji - The “Partial Emoji” attached to a
PollMedia
model. - Reaction
Type - The type of a
Reaction
sent. - Reaction
Types - A list of types a reaction can be.
- Sort
Order - The sort order for threads in a forum.
- Stage
Instance Privacy Level - See
StageInstance::privacy_level
. - Video
Quality Mode - The video quality mode for a voice channel.
Type Aliases§
- Attachment
Type Deprecated