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.

delete_message

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

Signature

async def delete_message(channel_id: str, message_id: str) -> bool

Parameters

channel_id
str
required
Channel containing the message
message_id
str
required
ID of message to delete

Returns

Returns
bool
True if deleted successfully

Source

View on GitHub

praisonaiagents/bots/protocols.py at line 382