Struct rive_models::payload::SendMessagePayload
source · pub struct SendMessagePayload {
pub content: Option<String>,
pub attachments: Option<Vec<String>>,
pub replies: Option<Vec<Reply>>,
pub embeds: Option<Vec<SendableEmbed>>,
pub masquerade: Option<Masquerade>,
pub interactions: Option<Interactions>,
}Fields§
§content: Option<String>Message content to send
attachments: Option<Vec<String>>Attachments to include in message
replies: Option<Vec<Reply>>Messages to reply to
embeds: Option<Vec<SendableEmbed>>Embeds to include in message
Text embed content contributes to the content length cap
masquerade: Option<Masquerade>Masquerade to apply to this message
interactions: Option<Interactions>Information about how this message should be interacted with
Trait Implementations§
source§impl Clone for SendMessagePayload
impl Clone for SendMessagePayload
source§fn clone(&self) -> SendMessagePayload
fn clone(&self) -> SendMessagePayload
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for SendMessagePayload
impl Debug for SendMessagePayload
source§impl Default for SendMessagePayload
impl Default for SendMessagePayload
source§fn default() -> SendMessagePayload
fn default() -> SendMessagePayload
Returns the “default value” for a type. Read more