@@ -8,20 +8,20 @@ |
||
8 | 8 | * Represents a chat member that was banned in the chat and can't return to the chat or view chat messages. |
9 | 9 | */ |
10 | 10 | class chatMemberBanned extends types { |
11 | - /** Keep all of properties which has sub properties */ |
|
12 | - private const subs = ['user' => 'BPT\types\user']; |
|
11 | + /** Keep all of properties which has sub properties */ |
|
12 | + private const subs = ['user' => 'BPT\types\user']; |
|
13 | 13 | |
14 | - /** The member's status in the chat, always “kicked” */ |
|
15 | - public string $status; |
|
14 | + /** The member's status in the chat, always “kicked” */ |
|
15 | + public string $status; |
|
16 | 16 | |
17 | - /** Information about the user */ |
|
18 | - public user $user; |
|
17 | + /** Information about the user */ |
|
18 | + public user $user; |
|
19 | 19 | |
20 | - /** Date when restrictions will be lifted for this user; unix time. If 0, then the user is banned forever */ |
|
21 | - public int $until_date; |
|
20 | + /** Date when restrictions will be lifted for this user; unix time. If 0, then the user is banned forever */ |
|
21 | + public int $until_date; |
|
22 | 22 | |
23 | 23 | |
24 | - public function __construct(stdClass $update) { |
|
25 | - parent::__construct($update, self::subs); |
|
26 | - } |
|
24 | + public function __construct(stdClass $update) { |
|
25 | + parent::__construct($update, self::subs); |
|
26 | + } |
|
27 | 27 | } |
@@ -10,29 +10,29 @@ |
||
10 | 10 | * the sticker. |
11 | 11 | */ |
12 | 12 | class inlineQueryResultCachedSticker extends types { |
13 | - /** Keep all of properties which has sub properties */ |
|
14 | - private const subs = [ |
|
15 | - 'reply_markup' => 'BPT\types\inlineKeyboardMarkup', |
|
16 | - 'input_message_content' => 'BPT\types\inputMessageContent', |
|
17 | - ]; |
|
13 | + /** Keep all of properties which has sub properties */ |
|
14 | + private const subs = [ |
|
15 | + 'reply_markup' => 'BPT\types\inlineKeyboardMarkup', |
|
16 | + 'input_message_content' => 'BPT\types\inputMessageContent', |
|
17 | + ]; |
|
18 | 18 | |
19 | - /** Type of the result, must be sticker */ |
|
20 | - public string $type; |
|
19 | + /** Type of the result, must be sticker */ |
|
20 | + public string $type; |
|
21 | 21 | |
22 | - /** Unique identifier for this result, 1-64 bytes */ |
|
23 | - public string $id; |
|
22 | + /** Unique identifier for this result, 1-64 bytes */ |
|
23 | + public string $id; |
|
24 | 24 | |
25 | - /** A valid file identifier of the sticker */ |
|
26 | - public string $sticker_file_id; |
|
25 | + /** A valid file identifier of the sticker */ |
|
26 | + public string $sticker_file_id; |
|
27 | 27 | |
28 | - /** Optional. Inline keyboard attached to the message */ |
|
29 | - public inlineKeyboardMarkup $reply_markup; |
|
28 | + /** Optional. Inline keyboard attached to the message */ |
|
29 | + public inlineKeyboardMarkup $reply_markup; |
|
30 | 30 | |
31 | - /** Optional. Content of the message to be sent instead of the sticker */ |
|
32 | - public inputMessageContent $input_message_content; |
|
31 | + /** Optional. Content of the message to be sent instead of the sticker */ |
|
32 | + public inputMessageContent $input_message_content; |
|
33 | 33 | |
34 | 34 | |
35 | - public function __construct(stdClass $update) { |
|
36 | - parent::__construct($update, self::subs); |
|
37 | - } |
|
35 | + public function __construct(stdClass $update) { |
|
36 | + parent::__construct($update, self::subs); |
|
37 | + } |
|
38 | 38 | } |
@@ -8,70 +8,70 @@ |
||
8 | 8 | * This object represents one button of an inline keyboard. You must use exactly one of the optional fields. |
9 | 9 | */ |
10 | 10 | class inlineKeyboardButton extends types { |
11 | - /** Keep all of properties which has sub properties */ |
|
12 | - private const subs = [ |
|
13 | - 'web_app' => 'BPT\types\webAppInfo', |
|
14 | - 'login_url' => 'BPT\types\loginUrl', |
|
15 | - 'callback_game' => 'BPT\types\callbackGame', |
|
16 | - ]; |
|
11 | + /** Keep all of properties which has sub properties */ |
|
12 | + private const subs = [ |
|
13 | + 'web_app' => 'BPT\types\webAppInfo', |
|
14 | + 'login_url' => 'BPT\types\loginUrl', |
|
15 | + 'callback_game' => 'BPT\types\callbackGame', |
|
16 | + ]; |
|
17 | 17 | |
18 | - /** Label text on the button */ |
|
19 | - public string $text; |
|
18 | + /** Label text on the button */ |
|
19 | + public string $text; |
|
20 | 20 | |
21 | - /** |
|
22 | - * Optional. HTTP or tg:// url to be opened when the button is pressed. Links tg://user?id=<user_id> can be used |
|
23 | - * to mention a user by their ID without using a username, if this is allowed by their privacy settings. |
|
24 | - */ |
|
25 | - public string $url; |
|
21 | + /** |
|
22 | + * Optional. HTTP or tg:// url to be opened when the button is pressed. Links tg://user?id=<user_id> can be used |
|
23 | + * to mention a user by their ID without using a username, if this is allowed by their privacy settings. |
|
24 | + */ |
|
25 | + public string $url; |
|
26 | 26 | |
27 | - /** Optional. Data to be sent in a callback query to the bot when button is pressed, 1-64 bytes */ |
|
28 | - public string $callback_data; |
|
27 | + /** Optional. Data to be sent in a callback query to the bot when button is pressed, 1-64 bytes */ |
|
28 | + public string $callback_data; |
|
29 | 29 | |
30 | - /** |
|
31 | - * Optional. Description of the Web App that will be launched when the user presses the button. The Web App will |
|
32 | - * be able to send an arbitrary message on behalf of the user using the method answerWebAppQuery. Available only |
|
33 | - * in private chats between a user and the bot. |
|
34 | - */ |
|
35 | - public webAppInfo $web_app; |
|
30 | + /** |
|
31 | + * Optional. Description of the Web App that will be launched when the user presses the button. The Web App will |
|
32 | + * be able to send an arbitrary message on behalf of the user using the method answerWebAppQuery. Available only |
|
33 | + * in private chats between a user and the bot. |
|
34 | + */ |
|
35 | + public webAppInfo $web_app; |
|
36 | 36 | |
37 | - /** |
|
38 | - * Optional. An HTTP URL used to automatically authorize the user. Can be used as a replacement for the Telegram |
|
39 | - * Login Widget. |
|
40 | - */ |
|
41 | - public loginUrl $login_url; |
|
37 | + /** |
|
38 | + * Optional. An HTTP URL used to automatically authorize the user. Can be used as a replacement for the Telegram |
|
39 | + * Login Widget. |
|
40 | + */ |
|
41 | + public loginUrl $login_url; |
|
42 | 42 | |
43 | - /** |
|
44 | - * Optional. If set, pressing the button will prompt the user to select one of their chats, open that chat and |
|
45 | - * insert the bot's username and the specified inline query in the input field. Can be empty, in which case just |
|
46 | - * the bot's username will be inserted.Note: This offers an easy way for users to start using your bot in inline |
|
47 | - * mode when they are currently in a private chat with it. Especially useful when combined with switch_pm… |
|
48 | - * actions – in this case the user will be automatically returned to the chat they switched from, skipping the |
|
49 | - * chat selection screen. |
|
50 | - */ |
|
51 | - public string $switch_inline_query; |
|
43 | + /** |
|
44 | + * Optional. If set, pressing the button will prompt the user to select one of their chats, open that chat and |
|
45 | + * insert the bot's username and the specified inline query in the input field. Can be empty, in which case just |
|
46 | + * the bot's username will be inserted.Note: This offers an easy way for users to start using your bot in inline |
|
47 | + * mode when they are currently in a private chat with it. Especially useful when combined with switch_pm… |
|
48 | + * actions – in this case the user will be automatically returned to the chat they switched from, skipping the |
|
49 | + * chat selection screen. |
|
50 | + */ |
|
51 | + public string $switch_inline_query; |
|
52 | 52 | |
53 | - /** |
|
54 | - * Optional. If set, pressing the button will insert the bot's username and the specified inline query in the |
|
55 | - * current chat's input field. Can be empty, in which case only the bot's username will be inserted.This offers a |
|
56 | - * quick way for the user to open your bot in inline mode in the same chat – good for selecting something from |
|
57 | - * multiple options. |
|
58 | - */ |
|
59 | - public string $switch_inline_query_current_chat; |
|
53 | + /** |
|
54 | + * Optional. If set, pressing the button will insert the bot's username and the specified inline query in the |
|
55 | + * current chat's input field. Can be empty, in which case only the bot's username will be inserted.This offers a |
|
56 | + * quick way for the user to open your bot in inline mode in the same chat – good for selecting something from |
|
57 | + * multiple options. |
|
58 | + */ |
|
59 | + public string $switch_inline_query_current_chat; |
|
60 | 60 | |
61 | - /** |
|
62 | - * Optional. Description of the game that will be launched when the user presses the button.NOTE: This type of |
|
63 | - * button must always be the first button in the first row. |
|
64 | - */ |
|
65 | - public callbackGame $callback_game; |
|
61 | + /** |
|
62 | + * Optional. Description of the game that will be launched when the user presses the button.NOTE: This type of |
|
63 | + * button must always be the first button in the first row. |
|
64 | + */ |
|
65 | + public callbackGame $callback_game; |
|
66 | 66 | |
67 | - /** |
|
68 | - * Optional. Specify True, to send a Pay button.NOTE: This type of button must always be the first button in the |
|
69 | - * first row and can only be used in invoice messages. |
|
70 | - */ |
|
71 | - public bool $pay; |
|
67 | + /** |
|
68 | + * Optional. Specify True, to send a Pay button.NOTE: This type of button must always be the first button in the |
|
69 | + * first row and can only be used in invoice messages. |
|
70 | + */ |
|
71 | + public bool $pay; |
|
72 | 72 | |
73 | 73 | |
74 | - public function __construct(stdClass $update) { |
|
75 | - parent::__construct($update, self::subs); |
|
76 | - } |
|
74 | + public function __construct(stdClass $update) { |
|
75 | + parent::__construct($update, self::subs); |
|
76 | + } |
|
77 | 77 | } |
@@ -8,47 +8,47 @@ |
||
8 | 8 | * Represents a link to an article or web page. |
9 | 9 | */ |
10 | 10 | class inlineQueryResultArticle extends types { |
11 | - /** Keep all of properties which has sub properties */ |
|
12 | - private const subs = [ |
|
13 | - 'input_message_content' => 'BPT\types\inputMessageContent', |
|
14 | - 'reply_markup' => 'BPT\types\inlineKeyboardMarkup', |
|
15 | - ]; |
|
11 | + /** Keep all of properties which has sub properties */ |
|
12 | + private const subs = [ |
|
13 | + 'input_message_content' => 'BPT\types\inputMessageContent', |
|
14 | + 'reply_markup' => 'BPT\types\inlineKeyboardMarkup', |
|
15 | + ]; |
|
16 | 16 | |
17 | - /** Type of the result, must be article */ |
|
18 | - public string $type; |
|
17 | + /** Type of the result, must be article */ |
|
18 | + public string $type; |
|
19 | 19 | |
20 | - /** Unique identifier for this result, 1-64 Bytes */ |
|
21 | - public string $id; |
|
20 | + /** Unique identifier for this result, 1-64 Bytes */ |
|
21 | + public string $id; |
|
22 | 22 | |
23 | - /** Title of the result */ |
|
24 | - public string $title; |
|
23 | + /** Title of the result */ |
|
24 | + public string $title; |
|
25 | 25 | |
26 | - /** Content of the message to be sent */ |
|
27 | - public inputMessageContent $input_message_content; |
|
26 | + /** Content of the message to be sent */ |
|
27 | + public inputMessageContent $input_message_content; |
|
28 | 28 | |
29 | - /** Optional. Inline keyboard attached to the message */ |
|
30 | - public inlineKeyboardMarkup $reply_markup; |
|
29 | + /** Optional. Inline keyboard attached to the message */ |
|
30 | + public inlineKeyboardMarkup $reply_markup; |
|
31 | 31 | |
32 | - /** Optional. URL of the result */ |
|
33 | - public string $url; |
|
32 | + /** Optional. URL of the result */ |
|
33 | + public string $url; |
|
34 | 34 | |
35 | - /** Optional. Pass True, if you don't want the URL to be shown in the message */ |
|
36 | - public bool $hide_url; |
|
35 | + /** Optional. Pass True, if you don't want the URL to be shown in the message */ |
|
36 | + public bool $hide_url; |
|
37 | 37 | |
38 | - /** Optional. Short description of the result */ |
|
39 | - public string $description; |
|
38 | + /** Optional. Short description of the result */ |
|
39 | + public string $description; |
|
40 | 40 | |
41 | - /** Optional. Url of the thumbnail for the result */ |
|
42 | - public string $thumb_url; |
|
41 | + /** Optional. Url of the thumbnail for the result */ |
|
42 | + public string $thumb_url; |
|
43 | 43 | |
44 | - /** Optional. Thumbnail width */ |
|
45 | - public int $thumb_width; |
|
44 | + /** Optional. Thumbnail width */ |
|
45 | + public int $thumb_width; |
|
46 | 46 | |
47 | - /** Optional. Thumbnail height */ |
|
48 | - public int $thumb_height; |
|
47 | + /** Optional. Thumbnail height */ |
|
48 | + public int $thumb_height; |
|
49 | 49 | |
50 | 50 | |
51 | - public function __construct(stdClass $update) { |
|
52 | - parent::__construct($update, self::subs); |
|
53 | - } |
|
51 | + public function __construct(stdClass $update) { |
|
52 | + parent::__construct($update, self::subs); |
|
53 | + } |
|
54 | 54 | } |
@@ -8,44 +8,44 @@ |
||
8 | 8 | * Represents an invite link for a chat. |
9 | 9 | */ |
10 | 10 | class chatInviteLink extends types { |
11 | - /** Keep all of properties which has sub properties */ |
|
12 | - private const subs = ['creator' => 'BPT\types\user']; |
|
11 | + /** Keep all of properties which has sub properties */ |
|
12 | + private const subs = ['creator' => 'BPT\types\user']; |
|
13 | 13 | |
14 | - /** |
|
15 | - * The invite link. If the link was created by another chat administrator, then the second part of the link will |
|
16 | - * be replaced with “…”. |
|
17 | - */ |
|
18 | - public string $invite_link; |
|
14 | + /** |
|
15 | + * The invite link. If the link was created by another chat administrator, then the second part of the link will |
|
16 | + * be replaced with “…”. |
|
17 | + */ |
|
18 | + public string $invite_link; |
|
19 | 19 | |
20 | - /** Creator of the link */ |
|
21 | - public user $creator; |
|
20 | + /** Creator of the link */ |
|
21 | + public user $creator; |
|
22 | 22 | |
23 | - /** True, if users joining the chat via the link need to be approved by chat administrators */ |
|
24 | - public bool $creates_join_request; |
|
23 | + /** True, if users joining the chat via the link need to be approved by chat administrators */ |
|
24 | + public bool $creates_join_request; |
|
25 | 25 | |
26 | - /** True, if the link is primary */ |
|
27 | - public bool $is_primary; |
|
26 | + /** True, if the link is primary */ |
|
27 | + public bool $is_primary; |
|
28 | 28 | |
29 | - /** True, if the link is revoked */ |
|
30 | - public bool $is_revoked; |
|
29 | + /** True, if the link is revoked */ |
|
30 | + public bool $is_revoked; |
|
31 | 31 | |
32 | - /** Optional. Invite link name */ |
|
33 | - public string $name; |
|
32 | + /** Optional. Invite link name */ |
|
33 | + public string $name; |
|
34 | 34 | |
35 | - /** Optional. Point in time (Unix timestamp) when the link will expire or has been expired */ |
|
36 | - public int $expire_date; |
|
35 | + /** Optional. Point in time (Unix timestamp) when the link will expire or has been expired */ |
|
36 | + public int $expire_date; |
|
37 | 37 | |
38 | - /** |
|
39 | - * Optional. Maximum number of users that can be members of the chat simultaneously after joining the chat via |
|
40 | - * this invite link; 1-99999 |
|
41 | - */ |
|
42 | - public int $member_limit; |
|
38 | + /** |
|
39 | + * Optional. Maximum number of users that can be members of the chat simultaneously after joining the chat via |
|
40 | + * this invite link; 1-99999 |
|
41 | + */ |
|
42 | + public int $member_limit; |
|
43 | 43 | |
44 | - /** Optional. Number of pending join requests created using this link */ |
|
45 | - public int $pending_join_request_count; |
|
44 | + /** Optional. Number of pending join requests created using this link */ |
|
45 | + public int $pending_join_request_count; |
|
46 | 46 | |
47 | 47 | |
48 | - public function __construct(stdClass $update) { |
|
49 | - parent::__construct($update, self::subs); |
|
50 | - } |
|
48 | + public function __construct(stdClass $update) { |
|
49 | + parent::__construct($update, self::subs); |
|
50 | + } |
|
51 | 51 | } |
@@ -8,23 +8,23 @@ |
||
8 | 8 | * Represents the content of a text message to be sent as the result of an inline query. |
9 | 9 | */ |
10 | 10 | class inputTextMessageContent extends types { |
11 | - /** Keep all of properties which has sub properties */ |
|
12 | - private const subs = []; |
|
11 | + /** Keep all of properties which has sub properties */ |
|
12 | + private const subs = []; |
|
13 | 13 | |
14 | - /** Text of the message to be sent, 1-4096 characters */ |
|
15 | - public string $message_text; |
|
14 | + /** Text of the message to be sent, 1-4096 characters */ |
|
15 | + public string $message_text; |
|
16 | 16 | |
17 | - /** Optional. Mode for parsing entities in the message text. See formatting options for more details. */ |
|
18 | - public string $parse_mode; |
|
17 | + /** Optional. Mode for parsing entities in the message text. See formatting options for more details. */ |
|
18 | + public string $parse_mode; |
|
19 | 19 | |
20 | - /** Optional. List of special entities that appear in message text, which can be specified instead of parse_mode */ |
|
21 | - public array $entities; |
|
20 | + /** Optional. List of special entities that appear in message text, which can be specified instead of parse_mode */ |
|
21 | + public array $entities; |
|
22 | 22 | |
23 | - /** Optional. Disables link previews for links in the sent message */ |
|
24 | - public bool $disable_web_page_preview; |
|
23 | + /** Optional. Disables link previews for links in the sent message */ |
|
24 | + public bool $disable_web_page_preview; |
|
25 | 25 | |
26 | 26 | |
27 | - public function __construct(stdClass $update) { |
|
28 | - parent::__construct($update, self::subs); |
|
29 | - } |
|
27 | + public function __construct(stdClass $update) { |
|
28 | + parent::__construct($update, self::subs); |
|
29 | + } |
|
30 | 30 | } |
@@ -8,14 +8,14 @@ |
||
8 | 8 | * Represents the scope of bot commands, covering all group and supergroup chat administrators. |
9 | 9 | */ |
10 | 10 | class botCommandScopeAllChatAdministrators extends types { |
11 | - /** Keep all of properties which has sub properties */ |
|
12 | - private const subs = []; |
|
11 | + /** Keep all of properties which has sub properties */ |
|
12 | + private const subs = []; |
|
13 | 13 | |
14 | - /** Scope type, must be all_chat_administrators */ |
|
15 | - public string $type; |
|
14 | + /** Scope type, must be all_chat_administrators */ |
|
15 | + public string $type; |
|
16 | 16 | |
17 | 17 | |
18 | - public function __construct(stdClass $update) { |
|
19 | - parent::__construct($update, self::subs); |
|
20 | - } |
|
18 | + public function __construct(stdClass $update) { |
|
19 | + parent::__construct($update, self::subs); |
|
20 | + } |
|
21 | 21 | } |
@@ -11,41 +11,41 @@ |
||
11 | 11 | * present. Exactly one of the fields data or game_short_name will be present. |
12 | 12 | */ |
13 | 13 | class callbackQuery extends types { |
14 | - /** Keep all of properties which has sub properties */ |
|
15 | - private const subs = ['from' => 'BPT\types\user', 'message' => 'BPT\types\message']; |
|
14 | + /** Keep all of properties which has sub properties */ |
|
15 | + private const subs = ['from' => 'BPT\types\user', 'message' => 'BPT\types\message']; |
|
16 | 16 | |
17 | - /** Unique identifier for this query */ |
|
18 | - public string $id; |
|
17 | + /** Unique identifier for this query */ |
|
18 | + public string $id; |
|
19 | 19 | |
20 | - /** Sender */ |
|
21 | - public user $from; |
|
20 | + /** Sender */ |
|
21 | + public user $from; |
|
22 | 22 | |
23 | - /** |
|
24 | - * Optional. Message with the callback button that originated the query. Note that message content and message |
|
25 | - * date will not be available if the message is too old |
|
26 | - */ |
|
27 | - public message $message; |
|
23 | + /** |
|
24 | + * Optional. Message with the callback button that originated the query. Note that message content and message |
|
25 | + * date will not be available if the message is too old |
|
26 | + */ |
|
27 | + public message $message; |
|
28 | 28 | |
29 | - /** Optional. Identifier of the message sent via the bot in inline mode, that originated the query. */ |
|
30 | - public string $inline_message_id; |
|
29 | + /** Optional. Identifier of the message sent via the bot in inline mode, that originated the query. */ |
|
30 | + public string $inline_message_id; |
|
31 | 31 | |
32 | - /** |
|
33 | - * Global identifier, uniquely corresponding to the chat to which the message with the callback button was sent. |
|
34 | - * Useful for high scores in games. |
|
35 | - */ |
|
36 | - public string $chat_instance; |
|
32 | + /** |
|
33 | + * Global identifier, uniquely corresponding to the chat to which the message with the callback button was sent. |
|
34 | + * Useful for high scores in games. |
|
35 | + */ |
|
36 | + public string $chat_instance; |
|
37 | 37 | |
38 | - /** |
|
39 | - * Optional. Data associated with the callback button. Be aware that a bad client can send arbitrary data in this |
|
40 | - * field. |
|
41 | - */ |
|
42 | - public string $data; |
|
38 | + /** |
|
39 | + * Optional. Data associated with the callback button. Be aware that a bad client can send arbitrary data in this |
|
40 | + * field. |
|
41 | + */ |
|
42 | + public string $data; |
|
43 | 43 | |
44 | - /** Optional. Short name of a Game to be returned, serves as the unique identifier for the game */ |
|
45 | - public string $game_short_name; |
|
44 | + /** Optional. Short name of a Game to be returned, serves as the unique identifier for the game */ |
|
45 | + public string $game_short_name; |
|
46 | 46 | |
47 | 47 | |
48 | - public function __construct(stdClass $update) { |
|
49 | - parent::__construct($update, self::subs); |
|
50 | - } |
|
48 | + public function __construct(stdClass $update) { |
|
49 | + parent::__construct($update, self::subs); |
|
50 | + } |
|
51 | 51 | } |
@@ -9,33 +9,33 @@ |
||
9 | 9 | * identifiers. |
10 | 10 | */ |
11 | 11 | class game extends types { |
12 | - /** Keep all of properties which has sub properties */ |
|
13 | - private const subs = ['animation' => 'BPT\types\animation']; |
|
12 | + /** Keep all of properties which has sub properties */ |
|
13 | + private const subs = ['animation' => 'BPT\types\animation']; |
|
14 | 14 | |
15 | - /** Title of the game */ |
|
16 | - public string $title; |
|
15 | + /** Title of the game */ |
|
16 | + public string $title; |
|
17 | 17 | |
18 | - /** Description of the game */ |
|
19 | - public string $description; |
|
18 | + /** Description of the game */ |
|
19 | + public string $description; |
|
20 | 20 | |
21 | - /** Photo that will be displayed in the game message in chats. */ |
|
22 | - public array $photo; |
|
21 | + /** Photo that will be displayed in the game message in chats. */ |
|
22 | + public array $photo; |
|
23 | 23 | |
24 | - /** |
|
25 | - * Optional. Brief description of the game or high scores included in the game message. Can be automatically |
|
26 | - * edited to include current high scores for the game when the bot calls setGameScore, or manually edited using |
|
27 | - * editMessageText. 0-4096 characters. |
|
28 | - */ |
|
29 | - public string $text; |
|
24 | + /** |
|
25 | + * Optional. Brief description of the game or high scores included in the game message. Can be automatically |
|
26 | + * edited to include current high scores for the game when the bot calls setGameScore, or manually edited using |
|
27 | + * editMessageText. 0-4096 characters. |
|
28 | + */ |
|
29 | + public string $text; |
|
30 | 30 | |
31 | - /** Optional. Special entities that appear in text, such as usernames, URLs, bot commands, etc. */ |
|
32 | - public array $text_entities; |
|
31 | + /** Optional. Special entities that appear in text, such as usernames, URLs, bot commands, etc. */ |
|
32 | + public array $text_entities; |
|
33 | 33 | |
34 | - /** Optional. Animation that will be displayed in the game message in chats. Upload via BotFather */ |
|
35 | - public animation $animation; |
|
34 | + /** Optional. Animation that will be displayed in the game message in chats. Upload via BotFather */ |
|
35 | + public animation $animation; |
|
36 | 36 | |
37 | 37 | |
38 | - public function __construct(stdClass $update) { |
|
39 | - parent::__construct($update, self::subs); |
|
40 | - } |
|
38 | + public function __construct(stdClass $update) { |
|
39 | + parent::__construct($update, self::subs); |
|
40 | + } |
|
41 | 41 | } |