Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

node-telegram-bot-api

Package Overview
Dependencies
Maintainers
2
Versions
64
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-telegram-bot-api - npm Package Versions

13
7

0.56.0

Diff

Changelog

Source

[0.56.0][0.56.0] - 2021-12-07

Added:

  1. Support Bot API v5.5: (@danielperez9430)

    • Add method banChatSenderChat()
    • Add method unbanChatSenderChat()

    Fixes:

    • Tests for support with new invite link format
yagop
published 0.55.0 •

Changelog

Source

[0.55.0][0.55.0] - 2021-11-06

Added:

  1. Support Bot API v5.4: (@danielperez9430)

    • Add method approveChatJoinRequest()
    • Add method declineChatJoinRequest()
    • Add support for new updates:
      • chat_join_request

    Fixes:

    • Method editMessageMedia: Now you can send a local file ("attach://" + filePatch)
yagop
published 0.54.0 •

Changelog

Source

[0.54.0][0.54.0] - 2021-06-29

Added:

  1. Support Bot API v5.3: (@danielperez9430)

    • Add method deleteMyCommands()
    • Add method banChatMember()
    • Add method getChatMemberCount()

    New Test:

    • deleteMyCommands
    • banChatMember
    • getChatMemberCount

    Deprecated:

    • Method kickChatMember()
    • Method getChatMembersCount()
yagop
published 0.53.0 •

Changelog

Source

[0.53.0][0.53.0] - 2021-04-26

Added:

  1. Support Bot API v5.2:(@danielperez9430)

    • Add support for new messageTypes:
      • voice_chat_scheduled
yagop
published 0.52.0 •

Changelog

Source

[0.52.0][0.52.0] - 2021-03-20

Added:

  1. Support Bot API v5.1: (by @danielperez9430)

    • Add method createChatInviteLink()
    • Add method editChatInviteLink()
    • Add method revokeChatInviteLink()
    • Add support for new messageTypes:
      • voice_chat_started
      • voice_chat_ended
      • voice_chat_participants_invited
      • message_auto_delete_timer_changed
      • chat_invite_link
      • chat_member_updated
    • Add support for new updates:
      • my_chat_member
      • chat_member

    New Test: (by @danielperez9430)

    • createChatInviteLink
    • editChatInviteLink
    • revokeChatInviteLink
yagop
published 0.51.0 •

Changelog

Source

[0.51.0][0.51.0] - 2020-11-04

Added:

  1. Support Bot API v5.0: (by @danielperez9430)

    • Add method copyMessage()
    • Add method unpinAllChatMessages()
    • Add method close()
    • Add method logOut()

    Changed: (by @danielperez9430)

    • Remove trailing-spaces
    • Fix Bugs in Test

    New Test: (by @danielperez9430)

    • copyMessage
    • unpinAllChatMessages
yagop
published 0.50.0 •

Changelog

Source

[0.50.0][0.50.0] - 2020-05-2020

Added:

  1. Support Bot API v4.8: (by @danielperez9430)
    • Add methods: sendDice()
  2. Support Bot API v4.7: (by @danielperez9430)
    • Add methods: getMyCommands(),setMyCommands()
  3. Support Bot API v4.5: (by @danielperez9430)
    • Add methods: setChatAdministratorCustomTitle()
  4. Support Bot API v4.4: (by @danielperez9430)
    • Add methods: setChatPermissions()
  5. Support for poll_answer (by @JieJiSS)
  6. 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
yagop
published 0.40.0 •

Changelog

Source

[0.40.0][0.40.0] - 2019-05-04

Added:

  1. Support Bot API v4.2: (by @kamikazechaser)
    • Add methods: TelegramBot#sendPoll(), TelegramBot#stopPoll()
    • Support events: poll
  2. Support Bot API v4.0: (by @kamikazechaser)
    • Add methods: TelegramBot#editMessageMedia(), TelegramBot#sendAnimation()
    • Support new message types: passport_data, animation

gochomugo
published 0.30.0 •

Changelog

Source

[0.30.0][0.30.0] - 2017-12-21

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)

gochomugo
published 0.29.0 •

Changelog

Source

[0.29.0][0.29.0] - 2017-10-22

Added:

  1. Add Bot API v3.2 methods:
    • (#429) TelegramBot#getStickerSet (by @CapacitorSet, @LibertyLocked)
    • (#430) TelegramBot#uploadStickerFile (by @CapacitorSet)
    • TelegramBot#createNewStickerSet, TelegramBot#addStickerToSet, TelegramBot#setStickerPositionInSet, TelegramBot#deleteStickerFromSet (by @GochoMugo)
  2. Supports API v3.3

Deprecated:

  1. Auto-enabling Promise cancellation (#319) (by @GochoMugo)

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc