Methods

reportEphemeralMessage

Report an ephemeral message. USER-ONLY

Parameters

chatId: ID

The identifier of the chat.

messageId: number

The identifier of the message.

option?: string

The option of the report.

text?: string

The text of the report.

Result

Syntax

// Required parameters only.
await client.reportEphemeralMessage(chatId, messageId);

// Required parameters + optional parameters.
// Any of the optional parameters can be omitted.
await client.reportEphemeralMessage(chatId, messageId, { option, text });