editMessageReplyMarkup

Edit a message’s reply markup.

PARAMETERS
chatId: ID

The identifier of the chat that contains the message.

messageId: number

The message’s identifier.

replyMarkup?: ReplyMarkup

The reply markup of the message. Bot-only.

RESULT

The edited message.

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

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