Package it.tdlight.jni
Class TdApi.MessageDocument
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.MessageContent
it.tdlight.jni.TdApi.MessageDocument
- Enclosing class:
- TdApi
public static class TdApi.MessageDocument extends TdApi.MessageContent
A document message (general file).
-
Field Summary
Fields Modifier and Type Field Description TdApi.FormattedText
caption
Document caption.static int
CONSTRUCTOR
TdApi.Document
document
The document description. -
Constructor Summary
Constructors Constructor Description MessageDocument()
A document message (general file).MessageDocument(TdApi.Document document, TdApi.FormattedText caption)
A document message (general file).MessageDocument(DataInput input)
-
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
-
document
The document description. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
- Constant Field Values
-
-
Constructor Details
-
MessageDocument
public MessageDocument()A document message (general file). -
MessageDocument
A document message (general file).- Parameters:
document
- Document The document description.caption
- FormattedText Document caption.
-
MessageDocument
- 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()
-