Interface ProfilePhoto

Describes a user profile photo.

interface ProfilePhoto {
    @type: "profilePhoto";
    big: File;
    has_animation?: boolean;
    id: string;
    is_personal?: boolean;
    minithumbnail: Minithumbnail;
    small: File;
}

Properties

@type: "profilePhoto"
big: File

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

has_animation?: boolean

True, if the photo has animated variant.

id: string

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

is_personal?: boolean

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

minithumbnail: Minithumbnail

User profile photo minithumbnail; may be null.

small: File

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