public static class TdApi.ChatPhoto extends TdApi.Object
| Modifier and Type | Field and Description |
|---|---|
int |
addedDate
Point in time (Unix timestamp) when the photo has been added.
|
TdApi.AnimatedChatPhoto |
animation
A big (up to 1280x1280) animated variant of the photo in MPEG4 format; may be null.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
long |
id
Unique photo identifier.
|
TdApi.Minithumbnail |
minithumbnail
Photo minithumbnail; may be null.
|
TdApi.PhotoSize[] |
sizes
Available variants of the photo in JPEG format, in different size.
|
TdApi.AnimatedChatPhoto |
smallAnimation
A small (160x160) animated variant of the photo in MPEG4 format; may be null even the big animation is available.
|
TdApi.ChatPhotoSticker |
sticker
Sticker-based version of the chat photo; may be null.
|
| Constructor and Description |
|---|
ChatPhoto()
Describes a chat or user profile photo.
|
ChatPhoto(long id,
int addedDate,
TdApi.Minithumbnail minithumbnail,
TdApi.PhotoSize[] sizes,
TdApi.AnimatedChatPhoto animation,
TdApi.AnimatedChatPhoto smallAnimation,
TdApi.ChatPhotoSticker sticker)
Describes a chat or user profile photo.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic long id
public int addedDate
public TdApi.Minithumbnail minithumbnail
public TdApi.PhotoSize[] sizes
public TdApi.AnimatedChatPhoto animation
public TdApi.AnimatedChatPhoto smallAnimation
public TdApi.ChatPhotoSticker sticker
public static final int CONSTRUCTOR
public ChatPhoto()
public ChatPhoto(long id,
int addedDate,
TdApi.Minithumbnail minithumbnail,
TdApi.PhotoSize[] sizes,
TdApi.AnimatedChatPhoto animation,
TdApi.AnimatedChatPhoto smallAnimation,
TdApi.ChatPhotoSticker sticker)
id - Unique photo identifier.addedDate - Point in time (Unix timestamp) when the photo has been added.minithumbnail - Photo minithumbnail; may be null.sizes - Available variants of the photo in JPEG format, in different size.animation - A big (up to 1280x1280) animated variant of the photo in MPEG4 format; may be null.smallAnimation - A small (160x160) animated variant of the photo in MPEG4 format; may be null even the big animation is available.sticker - Sticker-based version of the chat photo; may be null.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object