Skip to main content

Module message

Module message 

Source
Expand description

Textual user communication method.

Re-exports§

pub use self::activity::MessageActivity;
pub use self::activity::MessageActivityType;
pub use self::allowed_mentions::AllowedMentions;
pub use self::allowed_mentions::MentionType;
pub use self::application::MessageApplication;
pub use self::call::MessageCall;
pub use self::component::Component;
pub use self::embed::Embed;
pub use self::flags::MessageFlags;
pub use self::interaction::MessageInteraction;
pub use self::kind::MessageType;
pub use self::mention::Mention;
pub use self::message_pin::MessagePin;
pub use self::pins_listing::PinsListing;
pub use self::reaction::EmojiReactionType;
pub use self::reaction::Reaction;
pub use self::reaction::ReactionCountDetails;
pub use self::reaction_type::ReactionType;
pub use self::reference::MessageReference;
pub use self::reference_type::MessageReferenceType;
pub use self::role_subscription_data::RoleSubscriptionData;
pub use self::snapshot::MessageSnapshot;
pub use self::sticker::MessageSticker;
pub use self::sticker::Sticker;

Modules§

component
Interactive message elements for use with Interactions.
embed
Rich message content.
sticker
Message stickers.

Structs§

AllowedMentions
Allowed mentions (pings).
Mention
Mention of a user in a message.
Message
Text message sent in a Channel.
MessageActivity
Activity associated with a message.
MessageApplication
Partial Application sent with Rich Presence-related chat embeds.
MessageCall
Information about the call in a private channel.
MessageFlags
Flags to signal state and modify the look of a message.
MessageInteraction
Associated interaction metadata.
MessagePin
Message Pin object. docs
MessageReference
Message reference struct.
MessageSnapshot
The snap-shot of a message.
PinsListing
Pins listing request object for get_pins endpoint. docs
Reaction
Reaction below a message.
ReactionCountDetails
Breakdown of normal and super reaction counts for the associated emoji.
RoleSubscriptionData
Information about a role subscription that created a Message.

Enums§

EmojiReactionType
Type of emoji in a Reaction.
MentionType
Allowed mention type.
MessageActivityType
Activity of this message.
MessageReferenceType
The type of reference for a message.
MessageType
Type of a Message.
ReactionType
The kind of reaction.