Skip to content

remove top chat

Alexey Kravtsov edited this page May 19, 2020 · 1 revision

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.

Clone this wiki locally