@@ -59,42 +59,46 @@ i | **i**nterval: Number of seconds to wait between getUpdates requests
5959#### via browser
6060
6161Simply point your browser to the ` manager.php ` file with the necessary ** GET** parameters:
62- ` http://example.com/manager.php?s=<secret>&a=<action>&l=<loop>&i=<interval> `
62+ - ` http://example.com/manager.php?s=<secret>&a=<action>&l=<loop>&i=<interval> `
6363
6464** Webhook**
65+
6566Set, unset and reset the webhook:
66- ` http://example.com/manager.php?s=super_secret&a=set `
67- ` http://example.com/manager.php?s=super_secret&a=unset `
68- ` http://example.com/manager.php?s=super_secret&a=reset ` (unset & set combined)
67+ - ` http://example.com/manager.php?s=super_secret&a=set `
68+ - ` http://example.com/manager.php?s=super_secret&a=unset `
69+ - ` http://example.com/manager.php?s=super_secret&a=reset ` (unset & set combined)
6970
7071** getUpdates**
72+
7173Handle updates once:
72- ` http://example.com/manager.php?s=super_secret&a=handle ` or simply
73- ` http://example.com/manager.php?s=super_secret ` (` handle ` action is the default)
74+ - ` http://example.com/manager.php?s=super_secret&a=handle ` or simply
75+ - ` http://example.com/manager.php?s=super_secret ` (` handle ` action is the default)
7476
7577Handle updates for 30 seconds, fetching every 5 seconds:
76- ` http://example.com/manager.php?s=super_secret&l=30&i=5 `
78+ - ` http://example.com/manager.php?s=super_secret&l=30&i=5 `
7779
7880#### via CLI
7981
8082When using CLI, the secret is not necessary (since it could just be read from the file itself).
8183
8284Call the ` manager.php ` file directly using ` php ` and pass the parameters:
83- ` $ php manager.php a=<action> l=<loop> i=<interval> `
85+ - ` $ php manager.php a=<action> l=<loop> i=<interval> `
8486
8587** Webhook**
88+
8689Set, unset and reset the webhook:
87- ` $ php manager.php a=set `
88- ` $ php manager.php a=unset `
89- ` $ php manager.php a=reset ` (unset & set combined)
90+ - ` $ php manager.php a=set `
91+ - ` $ php manager.php a=unset `
92+ - ` $ php manager.php a=reset ` (unset & set combined)
9093
9194** getUpdates**
95+
9296Handle updates once:
93- ` $ php manager.php a=handle ` or simply
94- ` $ php manager.php ` (` handle ` action is the default)
97+ - ` $ php manager.php a=handle ` or simply
98+ - ` $ php manager.php ` (` handle ` action is the default)
9599
96100Handle updates for 30 seconds, fetching every 5 seconds:
97- ` $ php manager.php l=30 i=5 `
101+ - ` $ php manager.php l=30 i=5 `
98102
99103### Create the manager PHP file
100104
0 commit comments