Skip to content

ChatPhoto

Type · TDLib 1.8.67 · d1085f9c

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

Minithumbnail

Photo minithumbnail; may be null

sizes

list of PhotoSize

Available variants of the photo in JPEG format, in different size

animation

AnimatedChatPhoto

A big (up to 1280x1280) animated variant of the photo in MPEG4 format; may be null

small_animation

AnimatedChatPhoto

A small (160x160) animated variant of the photo in MPEG4 format; may be null even if the big animation is available

sticker

ChatPhotoSticker

Sticker-based version of the chat photo; may be null