Skip to main content

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