mirror of
https://github.com/openvk/openvk
synced 2025-04-21 15:43:03 +03:00
17 lines
405 B
PHP
17 lines
405 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace openvk\Web\Models\Entities\Notifications;
|
|
|
|
use openvk\Web\Models\Entities\{User, Gift};
|
|
|
|
final class GiftNotification extends Notification
|
|
{
|
|
protected $actionCode = 9601;
|
|
|
|
public function __construct(User $receiver, User $sender, Gift $gift, ?string $comment)
|
|
{
|
|
parent::__construct($receiver, $gift, $sender, time(), $comment ?? "");
|
|
}
|
|
}
|