removeTopChat - libtd-ktx

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


libtd-ktx / kotlinx.telegram.coroutines / removeTopChat

removeTopChat

suspend fun TelegramFlow.removeTopChat(category: TopChatCategory?, chatId: Long): 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.

chatId - Chat identifier.