for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* This file is part of the TelegramBot package.
*
* (c) Avtandil Kikabidze aka LONGMAN <[email protected]>
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Longman\TelegramBot\Entities\Games;
use Longman\TelegramBot\Entities\Entity;
* 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()
return [
'user' => User::class,
];
}