Delete Message • AI Agent SDK
delete_message: Delete a message.
delete_message
Async
Method
</div>
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) -> boolParameters
ParamField
strChannel containing the message
ParamField
strID of message to delete
Returns
ResponseField
boolTrue if deleted successfully
Source
View on GitHubpraisonaiagents/bots/protocols.py at line 1163