Function search_chats_on_server

Source
pub async fn search_chats_on_server(
    query: String,
    limit: i32,
    client_id: i32,
) -> Result<Chats, Error>
Expand description

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 main chat list

ยงArguments

  • query - Query to search for
  • limit - The maximum number of chats to be returned
  • client_id - The client id to send the request to