Class GameType.

see
package Default

 Properties

 

Optional. Animation that will be displayed in the game message in chats. Upload via BotFather.

$animation : \TgBotApi\BotApiBase\Type\AnimationType | null

Default

 

Description of the game.

$description : string

Default

 

Photo that will be displayed in the game message in chats.

$photo : array<mixed,\TgBotApi\BotApiBase\Type\PhotoSizeType>

Default

 

Brief description of the game or high scores included in the game message.

$text : string

Default

Can be automatically edited to include current high scores for the game when the bot calls setGameScore, or manually edited using editMessageText. 0-4096 characters.

 

Optional. Special entities that appear in text, such as usernames, URLs, bot commands, etc.

$textEntities : array<mixed,\TgBotApi\BotApiBase\Type\MessageEntityType> | null

Default

 

Title of the game.

$title : string

Default