ChatPhoto¶
Describes a chat or user profile photo
ChatPhoto(
id: int64,
added_date: int32,
minithumbnail: Minithumbnail,
sizes: list of PhotoSize,
animation: AnimatedChatPhoto,
small_animation: AnimatedChatPhoto,
sticker: ChatPhotoSticker
) → ChatPhoto
id¶
int64
Unique photo identifier
added_date¶
int32
Point in time (Unix timestamp) when the photo has been added
minithumbnail¶
Photo minithumbnail; may be null
sizes¶
list of PhotoSize
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
small_animation¶
A small (160x160) animated variant of the photo in MPEG4 format; may be null even if the big animation is available
sticker¶
Sticker-based version of the chat photo; may be null