ChatKtx.addRecentlyFound - libtd-ktx

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


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

addRecentlyFound

open suspend fun Chat.addRecentlyFound(): Unit

Suspend function, which adds a chat to the list of recently found chats. The chat is added to the beginning of the list. If the chat is already in the list, it will be removed from the list first.