Skip to content

deleteEphemeralMessage ​

Returns: TrueOfficial docs ↗

Use this method to delete an ephemeral message. Note that it is not guaranteed that the user will receive the message deletion event, especially if they are offline. Returns True on success.

Parameters ​

chat_idIntegerStringRequired
Unique identifier for the target chat or username of the target supergroup in the format @username
receiver_user_idIntegerRequired
Identifier of the user who received the message
ephemeral_message_idIntegerRequired
Identifier of the ephemeral message to delete

Returns ​

On success, True is returned.

GramIO Usage ​

Errors ​

Tips & Gotchas ​

See Also ​