<?php

declare(strict_types=1);

namespace PHPMax\Api\Messages;

use PHPMax\Support\Model;

class ForwardMessagePayloadMessage extends Model
{
     
    public $cid;
     
    public $link;
     
    public $attaches = [];

    protected static function schema(): array
    {
        return [
            'cid' => ['type' => 'int', 'required' => true],
            'link' => ['type' => ForwardLink::class, 'required' => true],
            'attaches' => ['type' => 'list<mixed>', 'default' => static function (): array {
                return [];
            }],
        ];
    }
}
