public static class TdApi.PushMessageContentText 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 |
text
Message text.
|
| Constructor and Description |
|---|
PushMessageContentText()
A text message.
|
PushMessageContentText(java.lang.String text,
boolean isPinned)
A text message.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic java.lang.String text
public boolean isPinned
public static final int CONSTRUCTOR
public PushMessageContentText()
public PushMessageContentText(java.lang.String text,
boolean isPinned)
text - Message text.isPinned - True, if the message is a pinned message with the specified content.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object