PhotoStrippedSize

class pyrogram.raw.types.PhotoStrippedSize

A low-resolution compressed JPG payload

Constructor of PhotoSize.

Details:
  • Layer: 223

  • ID: E0B0BC2E

Parameters:
  • type (str) – Thumbnail type

  • bytes (bytes) – Thumbnail data, see here for more info on decompression »

TL Schema

photoStrippedSize#e0b0bc2e
type:string
bytes:bytes

= PhotoSize

Parameter Tree

PhotoStrippedSize
├── typestring
└── bytesbytes

Example

PhotoStrippedSize(
    type="text",
    bytes=b"data",
)