- Enclosing class:
- TdApi
Searches a user by their phone number.
Returns a 404 error if the user
can't be found.
Returns
User
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Phone number to search for. -
Constructor Summary
ConstructorDescriptionSearches a user by their phone number.SearchUserByPhoneNumber
(DataInput input) Searches a user by their phone number.SearchUserByPhoneNumber
(String phoneNumber) Searches a user by their phone number. -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Function
toString
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize
-
Field Details
-
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. ReturnsUser
-
SearchUserByPhoneNumber
Searches a user by their phone number. Returns a 404 error if the user can't be found. ReturnsUser
- Parameters:
phoneNumber
- String Phone number to search for.
-
SearchUserByPhoneNumber
Searches a user by their phone number. Returns a 404 error if the user can't be found. ReturnsUser
- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-