Layer 220
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
photoPathSize#d8214d41 type:string bytes:bytes = PhotoSize;
Parameters
| Name | Type | Description |
|---|---|---|
| Type | string | Always j |
| Bytes | bytes | Compressed SVG path payload, see here for decompression instructions |
Returns
PhotoSizeGogram Example
// Creating PhotoPathSize constructor obj := &tg.PhotoPathSize{ Type: "...", Bytes: []byte{}, }