public static class TdApi.InternalLinkTypeUserPhoneNumber extends TdApi.InternalLinkType
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
java.lang.String |
draftText
Draft text for message to send in the chat.
|
boolean |
openProfile
True, if user's profile information screen must be opened; otherwise, the chat itself must be opened.
|
java.lang.String |
phoneNumber
Phone number of the user.
|
| Constructor and Description |
|---|
InternalLinkTypeUserPhoneNumber()
The link is a link to a user by its phone number.
|
InternalLinkTypeUserPhoneNumber(java.lang.String phoneNumber,
java.lang.String draftText,
boolean openProfile)
The link is a link to a user by its 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 java.lang.String draftText
public boolean openProfile
public static final int CONSTRUCTOR
public InternalLinkTypeUserPhoneNumber()
public InternalLinkTypeUserPhoneNumber(java.lang.String phoneNumber,
java.lang.String draftText,
boolean openProfile)
phoneNumber - Phone number of the user.draftText - Draft text for message to send in the chat.openProfile - True, if user's profile information screen must be opened; otherwise, the chat itself must be opened.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object