sendScheduledMessage

Send a scheduled message before its schedule.

Parameters

chatId: ID

The identifier of the chat that contains the scheduled message.

messageId: number

The identifier of the scheduled message to send.

Result

Syntax

await client.sendScheduledMessage(chatId, messageId);