Releases: yagop/node-telegram-bot-api
Releases · yagop/node-telegram-bot-api
v0.50.0
Added:
- Support Bot API v4.8: (by @danielperez9430)
- Add methods: sendDice()
- Support Bot API v4.7: (by @danielperez9430)
- Add methods: getMyCommands(),setMyCommands()
- Support Bot API v4.5: (by @danielperez9430)
- Add methods: setChatAdministratorCustomTitle()
- Support Bot API v4.4: (by @danielperez9430)
- Add methods: setChatPermissions()
- Support for poll_answer (by @jiejiss)
- Add request options in file stream (by @zhangpanyi )
Changed: (by @danielperez9430)
- New message type: dice
- Fix Bugs in tests
- Fix regex compare (by @ledamint)
- Fix listening for error events when downloading files (by @Kraigo)
New Test: (by @danielperez9430)
- sendDice
- getMyCommands
- setMyCommands
- setChatAdministratorCustomTitle
- setChatPermissions
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: