2
0
mirror of https://github.com/yagop/node-telegram-bot-api synced 2025-08-31 14:25:57 +00:00

docs: update api.md for setWebHook (fix #1083) (#1084)

This commit is contained in:
Ilya Khrustalev
2023-08-23 07:57:17 +09:00
committed by GitHub
parent 542002ec0d
commit dfe24a4d38
2 changed files with 2 additions and 0 deletions

View File

@@ -440,6 +440,7 @@ that is being deprecated.
| url | <code>String</code> | URL where Telegram will make HTTP Post. Leave empty to delete webHook. |
| [options] | <code>Object</code> | Additional Telegram query options |
| [options.certificate] | <code>String</code> \| <code>stream.Stream</code> | PEM certificate key (public). |
| [options.secret_token] | <code>String</code> | A secret token to be sent in a header `X-Telegram-Bot-Api-Secret-Token` in every webhook request. |
| [fileOptions] | <code>Object</code> | Optional file related meta-data |
<a name="TelegramBot+deleteWebHook"></a>