1 | <?php |
||
19 | class Game extends TelegramTypes |
||
20 | { |
||
21 | /** |
||
22 | * Title of the game |
||
23 | * @var string |
||
24 | */ |
||
25 | public $title = ''; |
||
26 | |||
27 | /** |
||
28 | * Description of the game |
||
29 | * @var string |
||
30 | */ |
||
31 | public $description = ''; |
||
32 | |||
33 | /** |
||
34 | * Photo that will be displayed in the game message in chats |
||
35 | * @var PhotoSize[] |
||
36 | */ |
||
37 | public $photo = []; |
||
38 | |||
39 | /** |
||
40 | * Optional. Brief description of the game or high scores included in the game message. Can be automatically edited |
||
41 | * to include current high scores for the game when the bot calls setGameScore, or manually edited using |
||
42 | * editMessageText. 0-4096 characters |
||
43 | * @var int |
||
44 | */ |
||
45 | public $text = ''; |
||
46 | |||
47 | /** |
||
48 | * Optional. Special entities that appear in text, such as usernames, URLs, bot commands, etc |
||
49 | * @var MessageEntity[] |
||
50 | */ |
||
51 | public $text_entities = []; |
||
52 | |||
53 | /** |
||
54 | * Optional. Animation that will be displayed in the game message in chats. Upload via BotFather |
||
55 | * @var Animation |
||
56 | */ |
||
57 | public $animation; |
||
58 | |||
59 | public function mapSubObjects(string $key, array $data): TelegramTypes |
||
72 | } |
||
73 |