ChatKtx.removeTop - libtd-ktx

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


libtd-ktx / kotlinx.telegram.extensions / ChatKtx / removeTop

removeTop

open suspend fun Chat.removeTop(category: TopChatCategory?): Unit

Suspend function, which removes a chat from the list of frequently used chats. Supported only if the chat info database is enabled.

Parameters

category - Category of frequently used chats.