Package it.tdlight.jni
Class TdApi.PushMessageContentText
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.PushMessageContent
it.tdlight.jni.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 int
CONSTRUCTOR
boolean
isPinned
True, if the message is a pinned message with the specified content.String
text
Message text. -
Constructor Summary
Constructors Constructor Description PushMessageContentText()
A text message.PushMessageContentText(DataInput input)
PushMessageContentText(String text, boolean isPinned)
A text message. -
Method Summary
Modifier and Type Method Description boolean
equals(Object o)
int
getConstructor()
int
hashCode()
void
serialize(DataOutput output)
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:
- Constant Field Values
-
-
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()
-