Вход Регистрация
Файл: upload/core/vendor/longman/telegram-bot/src/Entities/ChatBoostSource/ChatBoostSourceGiftCode.php
Строк: 24
<?php

namespace LongmanTelegramBotEntitiesChatBoostSource;

use 
LongmanTelegramBotEntitiesEntity;
use 
LongmanTelegramBotEntitiesUser;

/**
 * The boost was obtained by the creation of Telegram Premium gift codes to boost a chat.
 *
 * @link https://core.telegram.org/bots/api#chatboostsourcegiftcode
 *
 * @method string getSource() Source of the boost, always “gift_code”
 * @method User   getUser()   User for which the gift code was created
 */
class ChatBoostSourceGiftCode extends Entity implements ChatBoostSource
{
    
/**
     * {@inheritdoc}
     */
    
protected function subEntities(): array
    {
        return [
            
'user' => User::class,
        ];
    }
}
Онлайн: 0
Реклама