Skip to main content

delete_message

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

Signature

async def delete_message(&self, channel_id: &str, message_id: &str) -> Result<bool>

Parameters

channel_id
&str
required
No description available.
message_id
&str
required
No description available.

Returns

Returns
Result<bool>
The result of the operation.