editMessageReplyMarkup - libtd-ktx

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


libtd-ktx / kotlinx.telegram.coroutines / editMessageReplyMarkup

editMessageReplyMarkup

suspend fun TelegramFlow.editMessageReplyMarkup(chatId: Long, 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

chatId - The chat the message belongs to.

messageId - Identifier of the message.

replyMarkup - The new message reply markup.

Return Message Describes a message.