Skip to main content

send_message

AsyncMethod
This is a method of the BotProtocol class in the protocols module.
Send a message to a channel.

Signature

Parameters

channel_id
str
required
Target channel ID
content
Union
required
Message content
reply_to
Optional
Optional message ID to reply to
thread_id
Optional
Optional thread ID for threaded replies

Returns

Returns
BotMessage
The sent message

Source

View on GitHub

praisonaiagents/bots/protocols.py at line 344