<?php

declare(strict_types=1);

namespace PHPMax\Api\Chats;

use PHPMax\Support\Model;

class CreateGroupPayload extends Model
{
     
    public $message;
     
    public $notify = true;

    protected static function schema(): array
    {
        return [
            'message' => ['type' => CreateGroupMessage::class, 'required' => true],
            'notify' => ['type' => 'bool', 'default' => true],
        ];
    }
}
