send_message
AsyncMethod
This is a method of the BotProtocol class in the protocols module.Send a message to a channel.
Signature
Parameters
str
required
Target channel ID
Union
required
Message content
Optional[str]
Optional message ID to reply to
Optional[str]
Optional thread ID for threaded replies
Returns
BotMessage
The sent message
Source
View on GitHub
praisonaiagents/bots/protocols.py at line 918
