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: doc/api.md
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -122,6 +122,7 @@ Emits `message` when a message arrives.
122
122
|[options.request]| <code>Object</code> || Options which will be added for all requests to telegram api. See https://github.com/request/request#requestoptions-callback for more information. |
123
123
|[options.baseApiUrl]| <code>String</code> | <code>https://api.telegram.org</code> | API Base URl; useful for proxying and testing |
124
124
|[options.filepath]| <code>Boolean</code> | <code>true</code> | Allow passing file-paths as arguments when sending files, such as photos using `TelegramBot#sendPhoto()`. See [usage information][usage-sending-files-performance] for more information on this option and its consequences. |
125
+
|[options.badRejection]| <code>Boolean</code> | <code>false</code> | Set to `true`**if and only if** the Node.js version you're using terminates the process on unhandled rejections. This option is only for *forward-compatibility purposes*. |
0 commit comments