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
| Name | Type | Required | Description |
|---|---|---|---|
Type | string | yes | Always j |
Bytes | []byte | yes | Compressed SVG path payload, see here for decompression instructions |
References
- Official documentation
- Generated Go reference
- TL definition:
photoPathSize#d8214d41