Link Search Menu Expand Document

Constructor: photoPathSize

Back to constructors index

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

Attributes:

NameTypeRequiredDescription
typestringYesAlways j
bytesbytesYesCompressed SVG path payload, see here for decompression instructions

Type: PhotoSize

Example:

$photoPathSize = ['_' => 'photoPathSize', 'type' => 'string', 'bytes' => 'bytes'];