editInlineMessageMedia - libtd-ktx

Kotlin Coroutines extensions for Telegram API TDLib (Telegram Database library)


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.