public static class TdApi.PushMessageContentContact extends TdApi.PushMessageContent
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
boolean |
isPinned
True, if the message is a pinned message with the specified content.
|
java.lang.String |
name
Contact's name.
|
| Constructor and Description |
|---|
PushMessageContentContact()
A message with a user contact.
|
PushMessageContentContact(java.lang.String name,
boolean isPinned)
A message with a user contact.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic java.lang.String name
public boolean isPinned
public static final int CONSTRUCTOR
public PushMessageContentContact()
public PushMessageContentContact(java.lang.String name,
boolean isPinned)
name - Contact's name.isPinned - True, if the message is a pinned message with the specified content.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object