MessageKtx.editReplyMarkup - libtd-ktx

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


libtd-ktx / kotlinx.telegram.extensions / MessageKtx / editReplyMarkup

editReplyMarkup

open suspend fun Message.editReplyMarkup(chatId: 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

chatId - The chat the message belongs to.

replyMarkup - The new message reply markup.

Return TdApi.Message Describes a message.