You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| mode | integer | auto | Mode for update handling (or no handling at all) |
20
-
| json_payload | boolean |`true`| Whether or not print json payload |
21
-
| log_updates | integer |`false`| Chat id where raw json updates will be sent (set to false to disable) |
22
-
| debug | integer |`false`| Chat id where debug logs will be sent if an api error occurs (set to false to disable) |
23
-
| async | bool |`true`| Whether or not process updates concurrently |
24
-
| command_prefixes | array |`['/']`| Characters for commands prefixes. e.g. /start, .info |
25
-
| bot_api_url | string |https://api.telegram.org| Url for custom bot api |
26
-
| restart_on_changes | bool |`false`| Auto restart when Bot file is edited |
27
-
| group_handlers | bool |`true`| Whether to execute all the handlers of an update in the same process (true), or fork a process for each handler (false) |
28
-
| wait_handlers | bool |`false`| Whether to wait for handlers to finish when closing script |
29
-
|logger| int |`Monolog\Logger::INFO`|`Monolog\Logger` constant for logging|
30
-
|disable_ip_check| boolean |`false`| Whether or not disable telegram ip check (could be useful in case of reverse proxy, such as ngrok)|
31
-
|exceptions| bool |`true`| Whether or not throw \skrtdev\Telegram\Exception(s) when API Errors occurs |
32
-
|database| array| no|[Database](database.md) array connection info or instance of an existing `PDO` database (`novagram` will be used as prefix)|
33
-
|parse_mode| string | no| Default `parse_mode` for methods that require it|
34
-
|disable_web_page_preview| bool| no | Default `disable_web_page_preview` for methods that require it |
35
-
|disable_notification| bool |no| Default `disable_notification` for methods that require it |
36
-
|allow_sending_without_reply | bool| no| Default `allow_sending_without_reply` for methods that require it |
| mode | integer | auto | Mode for update handling (or no handling at all) |
20
+
| json_payload | boolean |`true`| Whether or not print json payload |
21
+
| log_updates | integer |`false`| Chat id where raw json updates will be sent (set to false to disable) |
22
+
| debug | integer |`false`| Chat id where debug logs will be sent if an api error occurs (set to false to disable) |
23
+
| async | bool |`true`| Whether or not process updates concurrently |
24
+
| command_prefixes | array |`['/']`| Characters for commands prefixes. e.g. /start, .info |
25
+
| bot_api_url | string |https://api.telegram.org| Url for custom bot api |
26
+
| restart_on_changes | bool |`false`| Auto restart when Bot file is edited |
27
+
| group_handlers | bool |`true`| Whether to execute all the handlers of an update in the same process (true), or fork a process for each handler (false) |
28
+
| wait_handlers | bool |`false`| Whether to wait for handlers to finish when closing script |
29
+
|threshold| int |null| Defaults to 10 when using `getUpdates`. Amount of max seconds the script will wait instead of throwing a `TooManyRequestsException`|
30
+
|logger| int |`Monolog\Logger::INFO`|`Monolog\Logger` constant for logging|
31
+
|disable_ip_check| boolean |`false`| Whether or not disable telegram ip check (could be useful in case of reverse proxy, such as ngrok)|
32
+
|exceptions| bool|`true`| Whether or not throw \skrtdev\Telegram\Exception(s) when API Errors occurs |
33
+
|database| array| null |[Database](database.md) array connection info or instance of an existing `PDO` database (`novagram` will be used as prefix)|
34
+
|parse_mode| string | null| Default `parse_mode` for methods that require it|
35
+
|disable_web_page_preview| bool |null| Default `disable_web_page_preview` for methods that require it|
36
+
|disable_notification | bool| null| Default `disable_notification` for methods that require it|
37
+
| allow_sending_without_reply | bool | null | Default `allow_sending_without_reply` for methods that require it |
0 commit comments