public static class TdApi.MessageDocument extends TdApi.MessageContent
| 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()
Returns an identifier uniquely determining type of the object.
|
toStringpublic 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()
TdApi.ObjectgetConstructor in class TdApi.Object