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