<?php

declare(strict_types=1);

namespace PHPMax\Domain\Attachments;

class StickerAttachment extends BaseAttachment
{
     
    public $authorType;
     
    public $lottieUrl;
     
    public $url;
     
    public $stickerId;
     
    public $tags;
     
    public $width;
     
    public $setId;
     
    public $time;
     
    public $stickerType;
     
    public $audio;
     
    public $height;

    protected static function schema(): array
    {
        return parent::schema() + [
            'authorType' => ['type' => 'string'],
            'lottieUrl' => ['type' => 'string'],
            'url' => ['type' => 'string'],
            'stickerId' => ['type' => 'int'],
            'tags' => ['type' => 'list<string>'],
            'width' => ['type' => 'int'],
            'setId' => ['type' => 'int'],
            'time' => ['type' => 'int'],
            'stickerType' => ['type' => 'string'],
            'audio' => ['type' => 'bool'],
            'height' => ['type' => 'int'],
        ];
    }
}
