PhotoCachedSize#

class pyrogram.raw.types.PhotoCachedSize#

Description of an image and its content.

Constructor of PhotoSize.

Details:
  • Layer: 158

  • ID: 21E1AD6

Parameters:
  • type (str) – Thumbnail type.

  • w (int 32-bit) – Image width.

  • h (int 32-bit) – Image height.

  • bytes (bytes) – Binary data, file content.