Struct command::message::Send
zaun_community_protocol::command::message::Send · Struct
pub struct Send { … }message.send.
Fields
Section titled “Fields”content: String
Section titled “content: String”≤ 4 000 scalars; at least 1 unless the message has an attachment or an embed.
embeds: Vec<Embed>
Section titled “embeds: Vec<Embed>”Up to 10 rich embeds (EMBED_LINKS). Every picture an embed shows is one of
attachments.
reply_to: Option<MessageId>
Section titled “reply_to: Option<MessageId>”A message in the same channel.
mentions: Option<Mentions>
Section titled “mentions: Option<Mentions>”Who to notify.
attachments: Vec<AttachmentId>
Section titled “attachments: Vec<AttachmentId>”Up to 10 distinct attachments this member uploaded to this channel and the host
stored (attachment.upload), not yet on a message.
SPEC: written without ? in the protocol but absent from the the protocol example body; it defaults
to empty.
components: Vec<Component>
Section titled “components: Vec<Component>”Components; bot members only.
flags: Option<u32>
Section titled “flags: Option<u32>”Message flags; EPHEMERAL only in interaction replies.
Trait implementations
Section titled “Trait implementations”Body, Clone, Debug, Deserialize<'de>, Eq, PartialEq, Serialize, StructuralPartialEq, Validate