Module tdlight.api

Class TdApi.SearchUserByPhoneNumber

Enclosing class:
TdApi

public static final class TdApi.SearchUserByPhoneNumber extends TdApi.Function<TdApi.User>
Searches a user by their phone number. Returns a 404 error if the user can't be found. Returns User
  • Field Details

    • phoneNumber

      public String phoneNumber
      Phone number to search for.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      See Also:
  • Constructor Details

    • SearchUserByPhoneNumber

      public SearchUserByPhoneNumber()
      Searches a user by their phone number. Returns a 404 error if the user can't be found. Returns User
    • SearchUserByPhoneNumber

      public SearchUserByPhoneNumber(String phoneNumber)
      Searches a user by their phone number. Returns a 404 error if the user can't be found. Returns User
      Parameters:
      phoneNumber - String Phone number to search for.
    • SearchUserByPhoneNumber

      public SearchUserByPhoneNumber(DataInput input) throws IOException
      Searches a user by their phone number. Returns a 404 error if the user can't be found. Returns User
      Throws:
      IOException
  • Method Details