View Source ExTDLib.Object.PhotoSize (ExTDLib v0.0.4)

Describes an image in JPEG format.

NameTypeDescription
typestringImage type (see https://core.telegram.org/constructor/photoSize).
photofileInformation about the image file.
widthnumberImage width.
heightnumberImage height.
progressive_sizesnumberSizes of progressive JPEG file prefixes, which can be used to preliminarily show the image; in bytes.

More details on telegram's documentation.