Skip to content

edit inline message media

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

libtd-ktx / kotlinx.telegram.coroutines / editInlineMessageMedia

editInlineMessageMedia

suspend fun TelegramFlow.editInlineMessageMedia(inlineMessageId: String?, replyMarkup: ReplyMarkup?, inputMessageContent: InputMessageContent?): Unit

Suspend function, which edits the content of a message with an animation, an audio, a document, a photo or a video in an inline message sent via a bot; for bots only.

Parameters

inlineMessageId - Inline message identifier.

replyMarkup - The new message reply markup; for bots only.

inputMessageContent - New content of the message. Must be one of the following types: InputMessageAnimation, InputMessageAudio, InputMessageDocument, InputMessagePhoto or InputMessageVideo.

Clone this wiki locally