Package org.drinkless.tdlib
Class TdApi.PushMessageContentText
- java.lang.Object
-
- org.drinkless.tdlib.TdApi.Object
-
- org.drinkless.tdlib.TdApi.PushMessageContent
-
- org.drinkless.tdlib.TdApi.PushMessageContentText
-
- Enclosing class:
- TdApi
public static class TdApi.PushMessageContentText extends TdApi.PushMessageContent
A text message.
-
-
Field Summary
Fields Modifier and Type Field Description static intCONSTRUCTORIdentifier uniquely determining type of the object.booleanisPinnedTrue, if the message is a pinned message with the specified content.StringtextMessage text.
-
Constructor Summary
Constructors Constructor Description PushMessageContentText()A text message.PushMessageContentText(String text, boolean isPinned)A text message.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetConstructor()-
Methods inherited from class org.drinkless.tdlib.TdApi.Object
toString
-
-
-
-
Field Detail
-
text
public String text
Message text.
-
isPinned
public boolean isPinned
True, if the message is a pinned message with the specified content.
-
CONSTRUCTOR
public static final int CONSTRUCTOR
Identifier uniquely determining type of the object.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
PushMessageContentText
public PushMessageContentText()
A text message.
-
PushMessageContentText
public PushMessageContentText(String text, boolean isPinned)
A text message.- Parameters:
text- Message text.isPinned- True, if the message is a pinned message with the specified content.
-
-
Method Detail
-
getConstructor
public int getConstructor()
- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-
-