[0.26.0][0.26.0] - 2017-01-20
Added:
- Add TelegramBot constructor options:
options.https
options.baseApiUrl
options.filepath
- Add methods:
- TelegramBot#stopPolling()
- TelegramBot#isPolling()
- TelegramBot#openWebHook()
- TelegramBot#closeWebHook()
- TelegramBot#hasOpenWebHook()
- TelegramBot#deleteWebHook()
- TelegramBot#getWebHookInfo()
Changed:
- Use POST requests by default
- Ensure all relevant methods return Promises
- Document auto-deletion of webhook during polling
- Deprecate support for Node.js v0.12
- Fix consistency of methods signatures
- Rename TelegramBot#initPolling() to TelegramBot#startPolling()
- Deprecate TelegramBot#initPolling()
Fixed:
- Handle error during formatting
formData
- Fix ES6 syntax
Credits/Blames: Unless explicitly stated otherwise, above work was
done by @GochoMugo