Send Message • Rust AI Agent SDK
send_message: Send a message to a channel.
send_message
Async
Method
</div>
This is a method of the BotProtocol class in the bots module.
Send a message to a channel.
Signature
async def send_message(
&self,
channel_id: &str,
content: serde_json::Value,
reply_to: Option<String>,
thread_id: Option<String>,
) -> Result<BotMessage>Parameters
ParamField
&strNo description available.
ParamField
serde_json::ValueNo description available.
ParamField
Option<String>No description available.
ParamField
Option<String>No description available.