pub struct FinalOutputRequest {Show 16 fields
pub content: String,
pub mentions: Vec<MentionTarget>,
pub mention_back: bool,
pub no_mention: bool,
pub files: Vec<String>,
pub images: Vec<String>,
pub top_level: bool,
pub chat_id: Option<String>,
pub into: Option<String>,
pub quote: Option<String>,
pub no_quote: bool,
pub voice: bool,
pub attention: Option<String>,
pub card: bool,
pub text: bool,
pub anyway: bool,
}Expand description
Structured request for beam send.
Only content is required; all other fields are optional with sensible defaults,
providing backward compatibility with old { "content": "..." } JSON payloads.
Fields§
§content: String§mentions: Vec<MentionTarget>Explicit mention targets (–mention <open_id[:name]>, repeatable).
mention_back: boolMention the sender who triggered the session (–mention-back).
no_mention: boolSuppress all @-mentions in body and footer (–no-mention).
files: Vec<String>Local file paths to upload and send as file messages (–files / –file, repeatable).
images: Vec<String>Local image paths to upload and inline in an interactive card (–images / –image, repeatable).
top_level: boolForce a top-level chat message instead of a reply (–top-level).
chat_id: Option<String>Override target chat (–chat-id <oc_xxx>).
into: Option<String>Send into a specific thread (–into <message_id>).
quote: Option<String>Explicit quote target (–quote <message_id>).
no_quote: boolDisable automatic quoting (–no-quote).
voice: boolRequest TTS/voice delivery (–voice).
attention: Option<String>Requesting attention with a specific kind (–attention[=kind]). Valid: authz | decision | blocked | help. Default: blocked.
card: boolNo-op (–card).
text: boolNo-op (–text).
anyway: boolPassthrough (–anyway).
Trait Implementations§
Source§impl Clone for FinalOutputRequest
impl Clone for FinalOutputRequest
Source§fn clone(&self) -> FinalOutputRequest
fn clone(&self) -> FinalOutputRequest
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for FinalOutputRequest
impl Debug for FinalOutputRequest
Source§impl<'de> Deserialize<'de> for FinalOutputRequest
impl<'de> Deserialize<'de> for FinalOutputRequest
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl Eq for FinalOutputRequest
Source§impl PartialEq for FinalOutputRequest
impl PartialEq for FinalOutputRequest
Source§fn eq(&self, other: &FinalOutputRequest) -> bool
fn eq(&self, other: &FinalOutputRequest) -> bool
self and other values to be equal, and is used by ==.