Skip to content

Struct command::object::Message

zaun_community_protocol::command::object::Message · Struct

pub struct Message { … }

A stored message as returned by message.history.

Host-assigned id.

The channel.

Its channel_seq.

The author, from the connection binding.

Acceptance time, ms.

Last edit time, ms.

≤ 4 000 scalars; empty only when the message has an attachment or an embed.

Rich embeds, in the author’s order; absent when none.

Components (bots only, the protocol); absent when none.

Message flags; absent when 0.

interaction_metadata: Option<Box<InteractionMetadata>>

Section titled “interaction_metadata: Option<Box<InteractionMetadata>>”

The interaction this message answers.

The message replied to.

Who is mentioned.

Attachments, in the order the author listed them.

Reaction counts.

Clone, Debug, Deserialize<'de>, Eq, PartialEq, Serialize, StructuralPartialEq

Full rustdoc page