deleteMessages

Use this method to delete multiple messages simultaneously
If some of the specified messages can't be found, they are skipped

Parameters for delete-messages
Field Description
chat_id * Unique identifier for the target chat or username of the target channel (in the format @channelusername)
message_ids * A JSON-serialized list of 1-100 identifiers of messages to delete
See deleteMessage for limitations on which messages can be deleted