deleteMessages
Delete up to 100 messages at once from a Telegram chat or channel. Specify chat and message IDs; missing messages are skipped automatically.
Instructions
Delete multiple messages simultaneously. If some of the specified messages can't be found, they are skipped. Returns True on success.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat_id | Yes | Unique identifier for the target chat or username of the target channel (in the format @channelusername). | |
| message_ids | Yes | A JSON-serialized list of 1-100 identifiers of messages to delete. See deleteMessage for limitations on which messages can be deleted. |