public static class TdApi.LinkPreviewTypeUser extends TdApi.LinkPreviewType
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
boolean |
isBot
True, if the user is a bot.
|
TdApi.ChatPhoto |
photo
Photo of the user; may be null if none.
|
| Constructor and Description |
|---|
LinkPreviewTypeUser()
The link is a link to a user.
|
LinkPreviewTypeUser(TdApi.ChatPhoto photo,
boolean isBot)
The link is a link to a user.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic TdApi.ChatPhoto photo
public boolean isBot
public static final int CONSTRUCTOR
public LinkPreviewTypeUser()
public LinkPreviewTypeUser(TdApi.ChatPhoto photo, boolean isBot)
photo - Photo of the user; may be null if none.isBot - True, if the user is a bot.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object