PhotoSize
Describes an image in JPEG format.
This is an alias for the PhotoSizeUnion
type.
chevron_leftchevron_right
Parameters
Interface
Name | Type | Description |
---|---|---|
_ | "photoSize" | |
type | string | Image type (see https://core.telegram.org/constructor/photoSize) |
photo | Information about the image file | |
width | number | Image width |
height | number | Image height |
progressiveSizes | number[] | Sizes of progressive JPEG file prefixes, which can be used to preliminarily show the image; in bytes |