-
Notifications
You must be signed in to change notification settings - Fork 11
search chats on server
Alexey Kravtsov edited this page May 19, 2020
·
1 revision
libtd-ktx / kotlinx.telegram.coroutines / searchChatsOnServer
suspend fun
TelegramFlow
.searchChatsOnServer(query:
String
?, limit:
Int
):
Chats
Suspend function, which searches for the specified query in the title and username of already known chats via request to the server. Returns chats in the order seen in the chat list.
query
- Query to search for.
limit
- The maximum number of chats to be returned.
Return Chats Represents a list of chats.