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

/**
 * This file is part of the TelegramBot package.
 *
 * (c) Avtandil Kikabidze aka LONGMAN <akalongman@gmail.com>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace LongmanTelegramBotEntitiesGames;

use 
LongmanTelegramBotEntitiesEntity;
use 
LongmanTelegramBotEntitiesUser;

/**
 * Class GameHighScore
 *
 * This object represents one row of the high scores table for a game.
 *
 * @link https://core.telegram.org/bots/api#gamehighscore
 *
 * @method int  getPosition() Position in high score table for the game
 * @method User getUser()     User
 * @method int  getScore()    Score
 **/
class GameHighScore extends Entity
{
    
/**
     * {@inheritdoc}
     */
    
protected function subEntities(): array
    {
        return [
            
'user' => User::class,
        ];
    }
}
Онлайн: 1
Реклама