java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.PushMessageContent
it.tdlight.jni.TdApi.PushMessageContentText
- Enclosing class:
- TdApi
A text message.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
boolean
True, if the message is a pinned message with the specified content.Message text. -
Constructor Summary
ConstructorDescriptionA text message.PushMessageContentText
(DataInput input) PushMessageContentText
(String text, boolean isPinned) A text message. -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize, 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 CONSTRUCTOR- See Also:
-
-
Constructor Details
-
PushMessageContentText
public PushMessageContentText()A text message. -
PushMessageContentText
A text message.- Parameters:
text
- String Message text.isPinned
- boolean True, if the message is a pinned message with the specified content.
-
PushMessageContentText
- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-