synapto_interface/cognitive_output_text.rs
1use crate::plugin::MessageChannel;
2use schemars::JsonSchema;
3use serde::{Deserialize, Serialize};
4
5/// Output message intended to be written to a text source (e.g. chat).
6#[derive(Serialize, Deserialize, JsonSchema, PartialEq, Eq, Debug, Clone)]
7pub struct CognitiveOutputText {
8 /// The target channel for the text output.
9 pub target_channel: MessageChannel,
10 /// The text content to be written.
11 pub text: String,
12}