clearAllDraftMessages - libtd-ktx

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


libtd-ktx / kotlinx.telegram.coroutines / clearAllDraftMessages

clearAllDraftMessages

suspend fun TelegramFlow.clearAllDraftMessages(excludeSecretChats: Boolean): Unit

Suspend function, which clears draft messages in all chats.

Parameters

excludeSecretChats - If true, local draft messages in secret chats will not be cleared.