1 | <?php |
||
17 | class SendGame extends TelegramMethods |
||
18 | { |
||
19 | /** |
||
20 | * Unique identifier for the target chat |
||
21 | * @var int |
||
22 | */ |
||
23 | public $chat_id = 0; |
||
24 | |||
25 | /** |
||
26 | * Short name of the game, serves as the unique identifier for the game. Set up your games via Botfather. |
||
27 | * @var float |
||
28 | */ |
||
29 | public $game_short_name = ''; |
||
30 | |||
31 | /** |
||
32 | * Optional. Sends the message silently. iOS users will not receive a notification, Android users will receive a |
||
33 | * notification with no sound. |
||
34 | * @see https://telegram.org/blog/channels-2-0#silent-messages |
||
35 | * @var bool |
||
36 | */ |
||
37 | public $disable_notification = false; |
||
38 | |||
39 | /** |
||
40 | * If the message is a reply, ID of the original message |
||
41 | * @var int |
||
42 | */ |
||
43 | public $reply_to_message_id = 0; |
||
44 | |||
45 | /** |
||
46 | * Optional. Additional interface options. A JSON-serialized object for a custom reply keyboard, instructions to |
||
47 | * hide keyboard or to force a reply from the user. |
||
48 | * @var Markup |
||
49 | */ |
||
50 | public $reply_markup; |
||
51 | |||
52 | public function getMandatoryFields(): array |
||
59 | } |
||
60 |