ChatKtx.editMessageReplyMarkup - libtd-ktx

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


libtd-ktx / kotlinx.telegram.extensions / ChatKtx / editMessageReplyMarkup

editMessageReplyMarkup

open suspend fun Chat.editMessageReplyMarkup(messageId: Long, replyMarkup: ReplyMarkup?): Message

Suspend function, which edits the message reply markup; for bots only. Returns the edited message after the edit is completed on the server side.

Parameters

messageId - Identifier of the message.

replyMarkup - The new message reply markup.

Return TdApi.Message Describes a message.