public static class TdApi.LinkPreviewTypeArticle extends TdApi.LinkPreviewType
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
TdApi.Photo |
photo
Article's main photo; may be null.
|
| Constructor and Description |
|---|
LinkPreviewTypeArticle()
The link is a link to a web site.
|
LinkPreviewTypeArticle(TdApi.Photo photo)
The link is a link to a web site.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic TdApi.Photo photo
public static final int CONSTRUCTOR
public LinkPreviewTypeArticle()
public LinkPreviewTypeArticle(TdApi.Photo photo)
photo - Article's main photo; may be null.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object