<?php

namespace App\Http\Requests\Messaging;

use App\Http\Requests\ApiFormRequest;

class MessageUpdateRequest extends ApiFormRequest
{
    public function rules(): array
    {
        return [
            'status' => ['nullable', 'in:sent,received,draft,trashed'],
            'priority' => ['nullable', 'in:low,normal,high'],
            'read_status' => ['nullable', 'in:0,1'],
        ];
    }
}
