delete_ephemeral_message()¶
- Client.delete_ephemeral_message()¶
Delete an ephemeral message.
Usable by Users Bots- Parameters:
chat_id (
int|str) – The peer context of the ephemeral message.receiver_id (
int|str) – The receiver bot of the ephemeral message.message_id (
int) – The ID of the ephemeral message to delete.
- Returns:
bool– True on success.
Example
await app.delete_ephemeral_message(chat_id, "@mybot", 123)