create

fun create(chatId: ChatId, messageId: Int): DeleteMessageApi(source)

Create instance of DeleteMessageApi.

Parameters

chatId

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

messageId

Identifier of the message to delete