pub struct UserMessageData {
pub agent_mode: Option<UserMessageAgentMode>,
pub attachments: Vec<Value>,
pub content: String,
pub interaction_id: Option<String>,
pub native_document_path_fallback_paths: Vec<String>,
pub parent_agent_task_id: Option<String>,
pub source: Option<String>,
pub supported_native_document_mime_types: Vec<String>,
pub transformed_content: Option<String>,
}Fields§
§agent_mode: Option<UserMessageAgentMode>The agent mode that was active when this message was sent
attachments: Vec<Value>Files, selections, or GitHub references attached to the message
content: StringThe user’s message text as displayed in the timeline
interaction_id: Option<String>CAPI interaction ID for correlating this user message with its turn
native_document_path_fallback_paths: Vec<String>Path-backed native document attachments that stayed on the tagged_files path flow because native upload would exceed the request size limit
parent_agent_task_id: Option<String>Parent agent task ID for background telemetry correlated to this user turn
source: Option<String>Origin of this message, used for timeline filtering (e.g., “skill-pdf” for skill-injected messages that should be hidden from the user)
supported_native_document_mime_types: Vec<String>Normalized document MIME types that were sent natively instead of through tagged_files XML
transformed_content: Option<String>Transformed version of the message sent to the model, with XML wrapping, timestamps, and other augmentations for prompt caching
Trait Implementations§
Source§impl Clone for UserMessageData
impl Clone for UserMessageData
Source§fn clone(&self) -> UserMessageData
fn clone(&self) -> UserMessageData
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more