Interface Photo

Describes a photo.

interface Photo {
    @type: "photo";
    has_stickers?: boolean;
    minithumbnail: Minithumbnail;
    sizes: PhotoSize[];
}

Properties

@type: "photo"
has_stickers?: boolean

True, if stickers were added to the photo. The list of corresponding sticker sets can be received using getAttachedStickerSets.

minithumbnail: Minithumbnail

Photo minithumbnail; may be null.

sizes: PhotoSize[]

Available variants of the photo, in different sizes.