<?php

namespace App\Domains\MessageSystem\Actions\SendMessage;

use App\Enumerations\MessageType;
use App\Models\User;
use App\ValueObjects\EmailAddress;
use App\ValueObjects\MessageRecipient;

class SendMessageRequest {
    public string $message;
    public string $subject;

    public MessageRecipient $recipient;

    /** @var MessageType[] */
    public array $messageTypes;

    public function __construct(
        string $message,
        string $subject,
        MessageRecipient $recipient,
        array $messageTypes
    ) {
        $this->message = $message;
        $this->recipient = $recipient;
        $this->subject = $subject;
        $this->messageTypes = $messageTypes;
    }
}
