Skip to content

ProfilePhoto

Type · TDLib 1.8.67 · d1085f9c

Describes a user profile photo

ProfilePhoto(
  id: int64,
  small: File,
  big: File,
  minithumbnail: Minithumbnail,
  has_animation: Bool,
  is_personal: Bool
) → ProfilePhoto

id

int64

Photo identifier; 0 for an empty photo. Can be used to find a photo in a list of user profile photos

small

File

A small (160x160) user profile photo. The file can be downloaded only before the photo is changed

big

File

A big (640x640) user profile photo. The file can be downloaded only before the photo is changed

minithumbnail

Minithumbnail

User profile photo minithumbnail; may be null

has_animation

Bool

True, if the photo has animated variant

is_personal

Bool

True, if the photo is visible only for the current user