v0.30.0
Added:
- Support Bot API v3.5: (by @GochoMugo)
- Allow
provider_data
parameter in TelegramBot#sendInvoice - Add method TelegramBot#sendMediaGroup()
- Allow
- Support Bot API v3.4: (by @kamikazechaser)
- Add methods:
- TelegramBot#getFileStream (#442) (by @GochoMugo, requested-by @Xaqron)
- Add options to TelegramBot#stopPolling() (by @GochoMugo)
- Add
metadata
argument inmessage
event (and friends e.g.text
,audio
, etc.) (#409) (by @jlsjonas, @GochoMugo) - Add forward-compatibility i.e. support future additional Telegram options (by @GochoMugo)
- Add support for Node.js v9 (by @GochoMugo)
- Document TelegramBot.errors, TelegramBot.messageTypes (by @GochoMugo)
Changed:
- Update TelegramBot#answerCallbackQuery() signature (by @GochoMugo)
- Improve default error logging of
polling_error
andwebhook_error
(#377) - Update dependencies
Deprecated:
- Sending files: (See [usage guide][usage-sending-files]) (by @hufan-akari, @GochoMugo)
- Error will not be thrown if
Buffer
is used and file-type could not be detected. - Filename will not be set to
data.${ext}
ifBuffer
is used - Content type will not default to
null
orundefined
- Error will not be thrown if
Fixed: