for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace TelegramBot\Entities\Games;
use TelegramBot\Entities\User;
use TelegramBot\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(): array
return [
'user' => User::class,
];
}