Module tdlight.api

Class TdApi.SearchContacts

Enclosing class:
TdApi

public static final class TdApi.SearchContacts extends TdApi.Function<TdApi.Users>
Searches for the specified query in the first names, last names and usernames of the known user contacts.

Returns Users

  • Field Details

    • query

      public String query
      Query to search for; may be empty to return all contacts.
    • limit

      public int limit
      The maximum number of users to be returned.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      See Also:
  • Constructor Details

    • SearchContacts

      public SearchContacts()
      Searches for the specified query in the first names, last names and usernames of the known user contacts.

      Returns Users

    • SearchContacts

      public SearchContacts(String query, int limit)
      Searches for the specified query in the first names, last names and usernames of the known user contacts.

      Returns Users

      Parameters:
      query - String Query to search for; may be empty to return all contacts.
      limit - int The maximum number of users to be returned.
    • SearchContacts

      public SearchContacts(DataInput input) throws IOException
      Searches for the specified query in the first names, last names and usernames of the known user contacts.

      Returns Users

      Throws:
      IOException
  • Method Details