PhotoSize
- class pyrogram.raw.base.PhotoSize
Location of a certain size of a picture
- Constructors:
This base type has 6 constructors available.
Description of an image and its content.
Messages with animated stickers can have a compressed svg (< 300 bytes) to show the outline of the sticker before fetching the actual lottie animation.
Image description.
Empty constructor.
Progressively encoded photosize
A low-resolution compressed JPG payload
TL Schema
photoSize#75c78e60
type:string
w:int
h:int
size:int
= PhotoSize
Parameter Tree
PhotoSize
├── type →
string├── w →
int├── h →
int└── size →
intExample
PhotoSize(
type="text",
w=0,
h=0,
size=0,
)