PhotoSizeProgressive

class pyrogram.raw.types.PhotoSizeProgressive

Progressively encoded photosize

Constructor of PhotoSize.

Details:
  • Layer: 223

  • ID: FA3EFB95

Parameters:
  • type (str) – Photosize type »

  • w (int 32-bit) – Photo width

  • h (int 32-bit) – Photo height

  • sizes (List of int 32-bit) – Sizes of progressive JPEG file prefixes, which can be used to preliminarily show the image.

TL Schema

photoSizeProgressive#fa3efb95
type:string
w:int
h:int
sizes:Vector<int>

= PhotoSize

Parameter Tree

PhotoSizeProgressive
├── typestring
├── wint
├── hint
└── sizesVector < int >

Example

PhotoSizeProgressive(
    type="text",
    w=0,
    h=0,
    sizes=[0],
)