Package it.tdlight.jni
Class TdApi.PushMessageContentDocument
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.PushMessageContent
it.tdlight.jni.TdApi.PushMessageContentDocument
- Enclosing class:
- TdApi
public static class TdApi.PushMessageContentDocument extends TdApi.PushMessageContent
A document message (a general file).
-
Field Summary
Fields Modifier and Type Field Description static int
CONSTRUCTOR
TdApi.Document
document
Message content; may be null.boolean
isPinned
True, if the message is a pinned message with the specified content. -
Constructor Summary
Constructors Constructor Description PushMessageContentDocument()
A document message (a general file).PushMessageContentDocument(TdApi.Document document, boolean isPinned)
A document message (a general file).PushMessageContentDocument(DataInput input)
-
Method Summary
Modifier and Type Method Description boolean
equals(Object o)
int
getConstructor()
int
hashCode()
void
serialize(DataOutputStream output)
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize, toString
-
Field Details
-
document
Message content; may be null. -
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
-
PushMessageContentDocument
public PushMessageContentDocument()A document message (a general file). -
PushMessageContentDocument
A document message (a general file).- Parameters:
document
- Document Message content; may be null.isPinned
- boolean True, if the message is a pinned message with the specified content.
-
PushMessageContentDocument
- 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()
-