java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.PushMessageContent
it.tdlight.jni.TdApi.PushMessageContentDocument
- Enclosing class:
- TdApi
A document message (a general file).
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Message content; may be null.boolean
True, if the message is a pinned message with the specified content. -
Constructor Summary
ConstructorDescriptionA document message (a general file).PushMessageContentDocument
(TdApi.Document document, boolean isPinned) A document message (a general file).A document message (a general file). -
Method Summary
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:
-
-
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
A document message (a general file).- 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()
-