You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
2.0 KiB
2.0 KiB
Change Log
All notable changes to this project will be documented in this file. This project adheres to Semantic Versioning.
Unreleased
Added:
- Add health-check endpoint (by @mironov)
options.webHook.healthEndpoint
- Use String#indexOf(), instead of RegExp#test(), to find token in webhook request (by @AVVS)
0.26.0 - 2016-01-20
Added:
- Add TelegramBot constructor options:
options.httpsoptions.baseApiUrloptions.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
0.25.0 - 2016-12-21
Added:
- Supports the API v2.3 updates (by @kamikazechaser)
- Add TelegramBot constructor option:
options.request: proxy extra request options (by @tarmolov)options.onlyFirstMatch(by @GingerPlusPlus)
- Add methods:
- TelegramBot#sendVenue() (by Tketa)
- TelegramBot#sendContact() (by @GochoMugo)
- TelegramBot#getGameHighScores() (by @jishnu7)
Fixed:
- Fix request performance issue (by @preco21)
- Fix typos (by oflisback)