deleteChatReplyMarkup - libtd-ktx

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


libtd-ktx / kotlinx.telegram.coroutines / deleteChatReplyMarkup

deleteChatReplyMarkup

suspend fun TelegramFlow.deleteChatReplyMarkup(chatId: Long, messageId: Long): Unit

Suspend function, which deletes the default reply markup from a chat. Must be called after a one-time keyboard or a ForceReply reply markup has been used. UpdateChatReplyMarkup will be sent if the reply markup will be changed.

Parameters

chatId - Chat identifier.

messageId - The message identifier of the used keyboard.