public static class TdApi.Contact extends TdApi.Object
Modifier and Type | Field and Description |
---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
java.lang.String |
firstName
First name of the user; 1-255 characters in length.
|
java.lang.String |
lastName
Last name of the user.
|
java.lang.String |
phoneNumber
Phone number of the user.
|
long |
userId
Identifier of the user, if known; otherwise 0.
|
java.lang.String |
vcard
Additional data about the user in a form of vCard; 0-2048 bytes in length.
|
Constructor and Description |
---|
Contact()
Describes a user contact.
|
Contact(java.lang.String phoneNumber,
java.lang.String firstName,
java.lang.String lastName,
java.lang.String vcard,
long userId)
Describes a user contact.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public java.lang.String phoneNumber
public java.lang.String firstName
public java.lang.String lastName
public java.lang.String vcard
public long userId
public static final int CONSTRUCTOR
public Contact()
public Contact(java.lang.String phoneNumber, java.lang.String firstName, java.lang.String lastName, java.lang.String vcard, long userId)
phoneNumber
- Phone number of the user.firstName
- First name of the user; 1-255 characters in length.lastName
- Last name of the user.vcard
- Additional data about the user in a form of vCard; 0-2048 bytes in length.userId
- Identifier of the user, if known; otherwise 0.public int getConstructor()
getConstructor
in class TdApi.Object