Send Message • AI Agent SDK
send_message: Runtime send entry point (“Bot.send_message“).
send_message
Async
Method
</div>
This is a method of the BasePlatformAdapter class in the base module.
Runtime send entry point (`Bot.send_message`).
Default routes through :meth:deliver so formatting, chunking, typing and retry apply; `thread_id is forwarded in metadata`.
Signature
async def send_message(channel_id: Any, content: Union[str, Dict[str, Any]], reply_to: Optional[str], thread_id: Optional[str]) -> SendResultParameters
ParamField
AnyNo description available.
ParamField
UnionNo description available.
ParamField
Optional[str]No description available.
ParamField
Optional[str]No description available.
Returns
ResponseField
SendResultThe result of the operation.
Uses
deliver
Source
View on GitHubpraisonaiagents/bots/base.py at line 605