public static class TdApi.LinkPreviewTypeBackground extends TdApi.LinkPreviewType
| Modifier and Type | Field and Description |
|---|---|
TdApi.BackgroundType |
backgroundType
Type of the background; may be null if unknown.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
TdApi.Document |
document
Document with the background; may be null for filled backgrounds.
|
| Constructor and Description |
|---|
LinkPreviewTypeBackground()
The link is a link to a background.
|
LinkPreviewTypeBackground(TdApi.Document document,
TdApi.BackgroundType backgroundType)
The link is a link to a background.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic TdApi.Document document
public TdApi.BackgroundType backgroundType
public static final int CONSTRUCTOR
public LinkPreviewTypeBackground()
public LinkPreviewTypeBackground(TdApi.Document document, TdApi.BackgroundType backgroundType)
document - Document with the background; may be null for filled backgrounds.backgroundType - Type of the background; may be null if unknown.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object