editInlineMessageMedia

Edit an inline message’s media.

Parameters

inlineMessageId: string

The inline message’s identifier.

media: InputMedia

The new media of the message.

replyMarkup?: ReplyMarkup

The reply markup of the message. Bot-only.

Result

void

Syntax

// Required parameters only.
await client.editInlineMessageMedia(inlineMessageId, media);

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