Skip to main content

on_message

AsyncMethod
This is a method of the BotProtocol class in the protocols module.
Handle incoming message

Signature

async def on_message(&self, message: BotMessage) -> Result<BotResponse>

Parameters

message
BotMessage
required
No description available.

Returns

Returns
Result<BotResponse>
The result of the operation.