public static class TdApi.PushMessageContentContact extends TdApi.PushMessageContent
TdApi.PushMessageContent.Constructors
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() |
toString
public 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()
getConstructor
in class TdApi.PushMessageContent