Methods

deleteEphemeralMessage

Delete an ephemeral message.

Parameters

chatId: ID

The identifier of the chat which the message belongs to.

receiverUserId: ID

The identifier of the user who received the ephemeral message.

messageId: number

The identifier of the message to delete.

Result

void

Syntax

await client.deleteEphemeralMessage(chatId, receiverUserId, messageId);