public static class TdApi.Photo extends TdApi.Object
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
boolean |
hasStickers
True, if stickers were added to the photo.
|
TdApi.Minithumbnail |
minithumbnail
Photo minithumbnail; may be null.
|
TdApi.PhotoSize[] |
sizes
Available variants of the photo, in different sizes.
|
| Constructor and Description |
|---|
Photo()
Describes a photo.
|
Photo(boolean hasStickers,
TdApi.Minithumbnail minithumbnail,
TdApi.PhotoSize[] sizes)
Describes a photo.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic boolean hasStickers
public TdApi.Minithumbnail minithumbnail
public TdApi.PhotoSize[] sizes
public static final int CONSTRUCTOR
public Photo()
public Photo(boolean hasStickers,
TdApi.Minithumbnail minithumbnail,
TdApi.PhotoSize[] sizes)
hasStickers - True, if stickers were added to the photo. The list of corresponding sticker sets can be received using getAttachedStickerSets.minithumbnail - Photo minithumbnail; may be null.sizes - Available variants of the photo, in different sizes.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object