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
Copy file name to clipboardExpand all lines: README.md
+4-3Lines changed: 4 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -59,8 +59,8 @@ There are a few parameters available to get things rolling:
59
59
| --------- | ----------- |
60
60
| s |**s**ecret: This is a special secret value defined in the main `manager.php` file. |
61
61
|| This parameter is required to call the script via browser! |
62
-
| a |**a**ction: The actual action to perform. (handle (default), cron, set, unset, reset) |
63
-
||**handle** executes the `getUpdates` method; **cron** executes cron commands; **set** / **unset** / **reset** the webhook. |
62
+
| a |**a**ction: The actual action to perform. (handle (default), webhookinfo, cron, set, unset, reset) |
63
+
||**handle** executes the `getUpdates` method; **webhookinfo** to get result from `getWebhookInfo`, **cron** executes cron commands; **set** / **unset** / **reset** the webhook. |
64
64
| l |**l**oop: Number of seconds to loop the script for (used for getUpdates method). |
65
65
|| This would be used mainly via CLI, to continually get updates for a certain period. |
66
66
| i |**i**nterval: Number of seconds to wait between getUpdates requests (used for getUpdates method, default is 2). |
@@ -180,7 +180,8 @@ The `secret` is a user-defined key that is required to execute any of the librar
180
180
Best make it long, random and very unique!
181
181
182
182
For 84 random characters:
183
-
- If you have `pwgen` installed, just execute `pwgen 84` and choose any one.
183
+
- If you have `pwgen` installed, just execute `pwgen 84 1` and copy the output.
184
+
- If you have `openssl` installed, use `openssl rand -hex 84`.
184
185
- Or just go [here][random-characters] and put all the output onto a single line.
185
186
186
187
(You get 2 guesses why 84 is a good number :wink:)
0 commit comments