Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.praison.ai/llms.txt

Use this file to discover all available pages before exploring further.

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.