public static class TdApi.SearchUserByPhoneNumber extends TdApi.Function<TdApi.User>
Returns User
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
boolean |
onlyLocal
Pass true to get only locally available information without sending network requests.
|
java.lang.String |
phoneNumber
Phone number to search for.
|
| Constructor and Description |
|---|
SearchUserByPhoneNumber()
Default constructor for a function, which searches a user by their phone number.
|
SearchUserByPhoneNumber(java.lang.String phoneNumber,
boolean onlyLocal)
Creates a function, which searches a user by their phone number.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic java.lang.String phoneNumber
public boolean onlyLocal
public static final int CONSTRUCTOR
public SearchUserByPhoneNumber()
Returns User
public SearchUserByPhoneNumber(java.lang.String phoneNumber,
boolean onlyLocal)
Returns User
phoneNumber - Phone number to search for.onlyLocal - Pass true to get only locally available information without sending network requests.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object