-
Notifications
You must be signed in to change notification settings - Fork 11
get top chats
Alexey Kravtsov edited this page May 19, 2020
·
1 revision
libtd-ktx / kotlinx.telegram.coroutines / getTopChats
suspend fun
TelegramFlow
.getTopChats(category:
TopChatCategory
?, limit:
Int
):
Chats
Suspend function, which returns a list of frequently used chats. Supported only if the chat info database is enabled.
category
- Category of chats to be returned.
limit
- The maximum number of chats to be returned; up to 30.
Return Chats Represents a list of chats.