Skip to main content

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.

type tg.PhotoPathSize struct { /* ... */ }

Implements PhotoSize.

Fields

NameTypeRequiredDescription
TypestringyesAlways j
Bytes[]byteyesCompressed SVG path payload, see here for decompression instructions

References