public static class TdApi.LinkPreviewTypeDocument extends TdApi.LinkPreviewType
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
TdApi.Document |
document
The document description.
|
| Constructor and Description |
|---|
LinkPreviewTypeDocument()
The link is a link to a general file.
|
LinkPreviewTypeDocument(TdApi.Document document)
The link is a link to a general file.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic TdApi.Document document
public static final int CONSTRUCTOR
public LinkPreviewTypeDocument()
public LinkPreviewTypeDocument(TdApi.Document document)
document - The document description.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object