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_idIntegerStringRequiredUnique identifier for the target chat or username of the target supergroup in the format
@usernamereceiver_user_idIntegerRequiredIdentifier of the user who received the message
ephemeral_message_idIntegerRequiredIdentifier of the ephemeral message to delete
Returns
On success, True is returned.