editInlineMessageCaption
Edit an inline message’s caption. Bot-only.
Parameters
inlineMessageId: string
The inline message’s identifier.
The message’s new caption. If omitted, the caption will be removed.
The parse mode to use. If omitted, the default parse mode will be used.
The caption’s entities.
The reply markup of the message. Bot-only.
Result
void
Syntax
// Required parameters only.
await client.editInlineMessageCaption(inlineMessageId);
// Required parameters + optional parameters.
// Any of the optional parameters can be omitted.
await client.editInlineMessageCaption(inlineMessageId, {
caption,
parseMode,
entities,
replyMarkup,
});