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.