@@ -17,8 +17,8 @@ discard block |
||
17 | 17 | { |
18 | 18 | /** |
19 | 19 | * An HTTP URL to be opened with user authorization data added to the query string when the button is pressed. |
20 | - * If the user refuses to provide authorization data, the original URL without information about the user will be opened. |
|
21 | - * The data added is the same as described in Receiving authorization data (https://core.telegram.org/widgets/login#receiving-authorization-data). |
|
20 | + * If the user refuses to provide authorization data, the original URL without information about the user will be opened. |
|
21 | + * The data added is the same as described in Receiving authorization data (https://core.telegram.org/widgets/login#receiving-authorization-data). |
|
22 | 22 | * @var string |
23 | 23 | */ |
24 | 24 | public $url = ''; |
@@ -35,9 +35,9 @@ discard block |
||
35 | 35 | */ |
36 | 36 | public $bot_username = ''; |
37 | 37 | |
38 | - /** |
|
39 | - * Optional. Pass True to request the permission for your bot to send messages to the user. |
|
40 | - * @var bool |
|
41 | - */ |
|
38 | + /** |
|
39 | + * Optional. Pass True to request the permission for your bot to send messages to the user. |
|
40 | + * @var bool |
|
41 | + */ |
|
42 | 42 | public $request_write_access = false; |
43 | 43 | } |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types = 1); |
|
3 | +declare(strict_types=1); |
|
4 | 4 | |
5 | 5 | namespace unreal4u\TelegramAPI\Telegram\Types; |
6 | 6 |
@@ -32,11 +32,11 @@ |
||
32 | 32 | */ |
33 | 33 | public $url = ''; |
34 | 34 | |
35 | - /** |
|
36 | - * Optional. An HTTP URL used to automatically authorize the user. |
|
37 | - * @var LoginUrl |
|
38 | - */ |
|
39 | - public $login_url; |
|
35 | + /** |
|
36 | + * Optional. An HTTP URL used to automatically authorize the user. |
|
37 | + * @var LoginUrl |
|
38 | + */ |
|
39 | + public $login_url; |
|
40 | 40 | |
41 | 41 | /** |
42 | 42 | * Optional. Data to be sent in a callback query to the bot when button is pressed, 1-64 bytes |