PhotoPathSize

class pyrogram.raw.types.PhotoPathSize

Messages with animated stickers can have a compressed svg (< 300 bytes) to show the outline of the sticker before fetching the actual lottie animation.

Constructor of PhotoSize.

Details:
  • Layer: 223

  • ID: D8214D41

Parameters:
  • type (str) – Always j

  • bytes (bytes) – Compressed SVG path payload, see here for decompression instructions

TL Schema

photoPathSize#d8214d41
type:string
bytes:bytes

= PhotoSize

Parameter Tree

PhotoPathSize
├── typestring
└── bytesbytes

Example

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