Skip to content

edit inline message caption

Alexey Kravtsov edited this page May 19, 2020 · 1 revision

libtd-ktx / kotlinx.telegram.coroutines / editInlineMessageCaption

editInlineMessageCaption

suspend fun TelegramFlow.editInlineMessageCaption(inlineMessageId: String?, replyMarkup: ReplyMarkup?, caption: FormattedText?): Unit

Suspend function, which edits the caption of an inline message sent via a bot; for bots only.

Parameters

inlineMessageId - Inline message identifier.

replyMarkup - The new message reply markup.

caption - New message content caption; 0-GetOption("message_caption_length_max") characters.

Clone this wiki locally