Telegram Group & Telegram Channel
New release, v0.26.0:

Added:

1. Add TelegramBot constructor options:
* options.https
* options.baseApiUrl
* options.filepath
2. Add methods:
* TelegramBot#stopPolling()
* TelegramBot#isPolling()
* TelegramBot#openWebHook()
* TelegramBot#closeWebHook()
* TelegramBot#hasOpenWebHook()
* TelegramBot#deleteWebHook()
* TelegramBot#getWebHookInfo()

Changed:

1. Use POST requests by default
2. Ensure all relevant methods return Promises
3. Document auto-deletion of webhook during polling
4. Deprecate support for Node.js v0.12
5. Fix consistency of methods signatures
6. Rename TelegramBot#initPolling() to TelegramBot#startPolling()
* Deprecate TelegramBot#initPolling()

Fixed:

1. Handle error during formatting formData
2. Fix ES6 syntax

Credits/Blames: Unless explicitly stated otherwise, above work was done by @GochoMugo. Thanks to all who have contributed in code and discussion in advancing this project.

We hope you find the library more easier and stable to work with. Happy coding!



tg-me.com/node_telegram_bot_api/32
Create:
Last Update:

New release, v0.26.0:

Added:

1. Add TelegramBot constructor options:
* options.https
* options.baseApiUrl
* options.filepath
2. Add methods:
* TelegramBot#stopPolling()
* TelegramBot#isPolling()
* TelegramBot#openWebHook()
* TelegramBot#closeWebHook()
* TelegramBot#hasOpenWebHook()
* TelegramBot#deleteWebHook()
* TelegramBot#getWebHookInfo()

Changed:

1. Use POST requests by default
2. Ensure all relevant methods return Promises
3. Document auto-deletion of webhook during polling
4. Deprecate support for Node.js v0.12
5. Fix consistency of methods signatures
6. Rename TelegramBot#initPolling() to TelegramBot#startPolling()
* Deprecate TelegramBot#initPolling()

Fixed:

1. Handle error during formatting formData
2. Fix ES6 syntax

Credits/Blames: Unless explicitly stated otherwise, above work was done by @GochoMugo. Thanks to all who have contributed in code and discussion in advancing this project.

We hope you find the library more easier and stable to work with. Happy coding!

BY Node Telegram Bot API


Warning: Undefined variable $i in /var/www/tg-me/post.php on line 283

Share with your friend now:
tg-me.com/node_telegram_bot_api/32

View MORE
Open in Telegram


Node Telegram Bot API Telegram | DID YOU KNOW?

Date: |

Telegram is riding high, adding tens of million of users this year. Now the bill is coming due.Telegram is one of the few significant social-media challengers to Facebook Inc., FB -1.90% on a trajectory toward one billion users active each month by the end of 2022, up from roughly 550 million today.

Node Telegram Bot API from us


Telegram Node Telegram Bot API
FROM USA