create

Create instance of DeleteMessagesApi.

Parameters

chatId

Unique identifier for the target chat or username of the target channel (in the format @channelusername)

messageIds

A JSON-serialized list of 1-100 identifiers of messages to delete. See DeleteMessageApi for limitations on which messages can be deleted