libtd-ktx / kotlinx.telegram.extensions / MessageKtx / deleteChatReplyMarkup
deleteChatReplyMarkup
open suspend fun Message.deleteChatReplyMarkup(chatId: 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.