public static class TdApi.MessageDocument extends TdApi.MessageContent
TdApi.MessageContent.Constructors
Modifier and Type | Field and Description |
---|---|
TdApi.FormattedText |
caption
Document caption.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
TdApi.Document |
document
The document description.
|
Constructor and Description |
---|
MessageDocument()
A document message (general file).
|
MessageDocument(TdApi.Document document,
TdApi.FormattedText caption)
A document message (general file).
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public TdApi.Document document
public TdApi.FormattedText caption
public static final int CONSTRUCTOR
public MessageDocument()
public MessageDocument(TdApi.Document document, TdApi.FormattedText caption)
document
- The document description.caption
- Document caption.public int getConstructor()
getConstructor
in class TdApi.MessageContent