PhotoSize¶
Describes an image in JPEG format
PhotoSize(
type: string,
photo: File,
width: int32,
height: int32,
progressive_sizes: list of int32
) → PhotoSize
type¶
string
Image type (see https://core.telegram.org/constructor/photoSize)
photo¶
Information about the image file
width¶
int32
Image width
height¶
int32
Image height
progressive_sizes¶
list of int32
Sizes of progressive JPEG file prefixes, which can be used to preliminarily show the image; in bytes