Download Latest Version v0.50.0.zip (753.4 kB)
Email in envelope

Get an email when there's a new version of Node.js Telegram Bot API

Home / v0.30.0
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2017-12-21 1.5 kB
v0.30.0.tar.gz 2017-12-21 720.9 kB
v0.30.0.zip 2017-12-21 733.3 kB
Totals: 3 Items   1.5 MB 1

Added:

  1. Support Bot API v3.5: (by @GochoMugo)
    • Allow provider_data parameter in TelegramBot#sendInvoice
    • Add method TelegramBot#sendMediaGroup()
  2. Support Bot API v3.4: (by @kamikazechaser)
    • Add methods TelegramBot#editMessageLiveLocation, TelegramBot#stopMessageLiveLocation (#439)
    • Add methods TelegramBot#setChatStickerSet, TelegramBot#deleteChatStickerSet (#440)
  3. Add methods:
    • TelegramBot#getFileStream (#442) (by @GochoMugo, requested-by @Xaqron)
  4. Add options to TelegramBot#stopPolling() (by @GochoMugo)
  5. Add metadata argument in message event (and friends e.g. text, audio, etc.) (#409) (by @jlsjonas, @GochoMugo)
  6. Add forward-compatibility i.e. support future additional Telegram options (by @GochoMugo)
  7. Add support for Node.js v9 (by @GochoMugo)
  8. Document TelegramBot.errors, TelegramBot.messageTypes (by @GochoMugo)

Changed:

  1. Update TelegramBot#answerCallbackQuery() signature (by @GochoMugo)
  2. Improve default error logging of polling_error and webhook_error (#377)
  3. Update dependencies

Deprecated:

  1. 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} if Buffer is used
    • Content type will not default to null or undefined

Fixed:

  1. Fix the offset infinite loop bug (#265, [#36]) (by @GochoMugo)
  2. Fix game example (#449, [#418]) (by @MCSH)
Source: README.md, updated 2017-12-21