Class TdApi.PushMessageContentText
java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.TdApi.PushMessageContent
dev.voroby.springframework.telegram.client.TdApi.PushMessageContentText
- Enclosing class:
- TdApi
A text message.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Identifier uniquely determining type of the object.boolean
True, if the message is a pinned message with the specified content.Message text. -
Constructor Summary
ConstructorDescriptionA text message.PushMessageContentText
(String text, boolean isPinned) A text message. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns an identifier uniquely determining type of the object.Methods inherited from class dev.voroby.springframework.telegram.client.TdApi.Object
toString
-
Field Details
-
text
Message text. -
isPinned
public boolean isPinnedTrue, if the message is a pinned message with the specified content. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
PushMessageContentText
public PushMessageContentText()A text message. -
PushMessageContentText
A text message.- Parameters:
text
- Message text.isPinned
- True, if the message is a pinned message with the specified content.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.Object
Returns an identifier uniquely determining type of the object.- Specified by:
getConstructor
in classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-