editInlineMessageReplyMarkup

Edit an inline message’s reply markup. Bot-only.

Parameters

inlineMessageId: string

The inline message’s identifier.

businessConnectionId?: string

The identifier of a business connection ID to perform the action on. Bot-only.

replyMarkup?: ReplyMarkup

The reply markup of the message. Bot-only.

Result

void

Syntax

// Required parameters only.
await client.editInlineMessageReplyMarkup(inlineMessageId);

// Required parameters + optional parameters.
// Any of the optional parameters can be omitted.
await client.editInlineMessageReplyMarkup(inlineMessageId, { businessConnectionId, replyMarkup });