openvk/Web/Models/Entities/Notifications/GiftNotification.php
Celestora 9336a91623 Add gifts
Signed-off-by: Celestora <kitsuruko@gmail.com>
2021-10-07 11:48:55 +03:00

13 lines
399 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;
function __construct(User $receiver, User $sender, Gift $gift, ?string $comment)
{
parent::__construct($receiver, $gift, $sender, time(), $comment ?? "");
}
}