PhotoSizeProgressive

class pyrogram.raw.types.PhotoSizeProgressive

Progressively encoded photosize.

Constructor type of PhotoSize.

Details
  • Layer: 126

  • ID: 0x5aa86a51

Parameters
  • type (str) – Photosize type.

  • location (FileLocation) – File location.

  • 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.