libtd-ktx / kotlinx.telegram.extensions / ChatKtx / deleteReplyMarkup
deleteReplyMarkup
open suspend fun Chat.deleteReplyMarkup(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
messageId - The message identifier of the used keyboard.