Skip to content

Struct command::message::Edit

zaun_community_protocol::command::message::Edit · Struct

pub struct Edit { … }

message.edit. Author only.

The message.

≤ 4 000 scalars; the edited message must still have content, an attachment or an embed.

The message’s new embeds (EMBED_LINKS unless empty): absent leaves them unchanged, [] removes them all. Their pictures must be attachments already on the message.

New components (bots only): absent leaves them unchanged, [] removes them.

Who the edited message mentions, by message.send’s rules: absent leaves the mentions unchanged, otherwise they replace them all.

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

Full rustdoc page