Airgram

Guides
/
/
Output types

PhotoSize

Describes an image in JPEG format.

This is an alias for the PhotoSizeUnion type.


NameTypeDescription
_"photoSize"
typestring Image type (see https://core.telegram.org/constructor/photoSize)
photo Information about the image file
widthnumber Image width
heightnumber Image height
progressiveSizesnumber[] Sizes of progressive JPEG file prefixes, which can be used to preliminarily show the image; in bytes