PackageTrack
Sign in Get early access

telegram-bot/api

PHP Wrapper for Telegram Bot API

v2.5.0 2.6M downloads/mo #3579 most downloaded on Packagist TelegramBot/Api

What this package is like to depend on

Last release 3 years ago

no release in 18 months

Ships unpredictably

gaps range from 1 weeks to 1.2 years

Rarely documented

notes for 9 of 48 stable releases

Nothing withdrawn

no release was ever pulled

11 years old

48 releases · first in 2015

0 releases in the last 12 months

see the full history below

Release timeline

48 releases · Jun 2015 to Aug 2023
2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 48
  1. v2.5.0 09 Aug 2023
    Release notes Open source →
    Release notes

    Added

    • Add missing protect_content and allow_sending_without_reply parameters to \TelegramBot\Api\BotApi methods
    • Add support attach://<file_attach_name> in \TelegramBot\Api\BotApi methods sendMediaGroup, createNewStickerSet, addStickerToSet, editMessageMedia
    • Rename thumb to thumbnail parameter in Animation, Document, Sticker, StickerSet, Video, VideoNote types
    • Rename thumb_* to thumbnail_* parameter in Inline/QueryResult types
    • Add missing phpDoc for $replyMarkup parameters
    • Fix phpDoc for \TelegramBot\Api\BotApi::setWebhook $allowedUpdates parameter. Automatically serialize if array passed
    • Fix phpDoc for \TelegramBot\Api\Types\Message::$newChatMembers
    • Add \TelegramBot\Api\BotApi::getChatMemberCount method
    • Add \TelegramBot\Api\BotApi::banChatMember method
    • Add $messageId to \TelegramBot\Api\BotApi::unpinChatMessage
    • Add \TelegramBot\Api\Types\ForceReply::$inputFieldPlaceholder property

    Deprecated

    • Deprecate using thumb* methods in \TelegramBot\Api\BotApi
    • Deprecate method \TelegramBot\Api\BotApi::setStickerSetThumb. Use \TelegramBot\Api\BotApi::setStickerSetThumbnail instead
    • Deprecate \TelegramBot\Api\Types\ReplyKeyboardHide class
    • Deprecate \TelegramBot\Api\BotApi::getChatMembersCount. Use \TelegramBot\Api\BotApi::getChatMemberCount instead
    • Deprecate \TelegramBot\Api\BotApi::kickChatMember. Use \TelegramBot\Api\BotApi::banChatMember instead
    Open source →
  2. v2.4.0 11 May 2023
    Release notes

    Merge pull request #428 from BoShurik/release

    Prepare release

    Open source →
    Release notes

    Added

    • Add \TelegramBot\Api\Types\Venue mapping (foursquare_type, google_place_id, google_place_type)
    • Add scope and languageCode parameters to \TelegramBot\Api\BotApi::setMyCommands
    • Add WebApp support: \TelegramBot\Api\BotApi::answerWebAppQuery method and \TelegramBot\Api\Types\Message::$webAppData property
    • Add \TelegramBot\Api\Types\ReplyKeyboardMarkup::$isPersistent property
    • Add \TelegramBot\Api\Types\ReplyKeyboardMarkup::$inputFieldPlaceholder property

    Fixed

    • Fix \TelegramBot\Api\Collection\Collection::addItem max count constraint (#333)
    • Fix \TelegramBot\Api\Types\StickerSet mapping
    • Fix \TelegramBot\Api\BotApi::copyMessage not returning \TelegramBot\Api\Types\MessageId
    • Fix new $messageThreadId parameter in \TelegramBot\Api\BotApi methods placed not in the end of the list of parameters

    Changed

    • \TelegramBot\Api\BotApi::getMyCommands now returns instance \TelegramBot\Api\Types\ArrayOfBotCommand instead of \TelegramBot\Api\Types\BotCommand array
    • \TelegramBot\Api\BotApi::setMyCommands now accepts instance of \TelegramBot\Api\Types\ArrayOfBotCommand instead of \TelegramBot\Api\Types\BotCommand array

    Deprecated

    • Deprecate \TelegramBot\Api\Botan class
    • Deprecate $trackerToken parameter in \TelegramBot\Api\BotApi::__construct
    • Deprecate $trackerToken parameter in \TelegramBot\Api\Events\EventCollection::__construct
    • Deprecate \TelegramBot\Api\Types\PollAnswer::getFrom use \TelegramBot\Api\Types\PollAnswer::getUser instead
    • Deprecate passing array of BotCommand to \TelegramBot\Api\BotApi::setMyCommands. Use \TelegramBot\Api\Types\ArrayOfBotCommand instead
    Open source →
  3. v2.3.26 21 Apr 2023
    Release notes

    Merge pull request #398 from nullform/fix-no-default-value

    Default value for $inlineKeyboard

    Open source →
  4. v2.3.25 06 Mar 2023
    Release notes

    Merge pull request #385 from bernard-ng/master

    add support for forum topic (Bot API 6.3)

    Open source →
  5. v2.3.24 06 Dec 2021

    Nothing published for this version

  6. v2.3.23 05 Nov 2021
    Release notes

    Merge pull request #352 from BoShurik/doc-types

    Fix doc types

    Open source →
  7. v2.3.22 09 Mar 2021
    Release notes

    Merge pull request #322 from TelegramBot/updateMethods

    Update sendVoice & sendDice methods

    Open source →
  8. v2.3.21 23 Jan 2021
    Release notes

    Merge pull request #314 from TelegramBot/feature/botCommands

    Add BotCommand type, setMyCommands and getMyCommands methods

    Open source →
  9. v2.3.20 13 Jan 2021
    Release notes

    Merge pull request #309 from TelegramBot/feature/copyMessage

    Patch: fix copyMessage method

    Open source →
  10. v2.3.19 13 Jan 2021
    Release notes

    Merge pull request #308 from TelegramBot/feature/copyMessage

    Add copyMessage method

    Open source →
  11. v2.3.18 13 Jan 2021

    Nothing published for this version

  12. v2.3.17 04 Sep 2020

    Nothing published for this version

  13. v2.3.16 12 Jul 2020

    Nothing published for this version

  14. 2.3.15 16 Jun 2020

    Nothing published for this version

  15. v2.3.14 11 Jun 2020

    Nothing published for this version

  16. v2.3.13 30 Apr 2018

    Nothing published for this version

  17. v2.3.12 20 Apr 2018

    Nothing published for this version

  18. v2.3.11 20 Apr 2018

    Nothing published for this version

  19. v2.3.10 17 Apr 2018

    Nothing published for this version

  20. v2.3.9 29 Mar 2018

    Nothing published for this version

  21. v2.3.8 16 Mar 2018

    Nothing published for this version

  22. v2.3.7 09 Nov 2017

    Nothing published for this version

  23. v2.3.6 03 Nov 2017

    Nothing published for this version

  24. v2.3.5 01 Sep 2017

    Nothing published for this version

  25. v2.3.4 27 Jul 2017

    Nothing published for this version

  26. v2.3.3 12 Jul 2017

    Nothing published for this version

  27. v2.3.2 08 Jul 2017

    Nothing published for this version

  28. v2.3.1 20 Jun 2017

    Nothing published for this version

  29. v2.3.0 21 Jun 2017

    Nothing published for this version

  30. 2.2.10 29 May 2017

    Nothing published for this version

  31. 2.2.9 14 Apr 2017

    Nothing published for this version

  32. 2.2.8 05 Apr 2017

    Nothing published for this version

  33. 2.2.7 17 Mar 2017

    Nothing published for this version

  34. 2.2.6 12 Dec 2016

    Nothing published for this version

  35. 2.2.5 29 May 2016

    Nothing published for this version

  36. v2.2.4 18 Dec 2015

    Nothing published for this version

  37. v2.2.3 12 Dec 2015

    Nothing published for this version

  38. v2.2.2 25 Oct 2015

    Nothing published for this version

  39. v2.2.1 23 Sep 2015

    Nothing published for this version

  40. v2.2.0 20 Sep 2015

    Nothing published for this version

  41. v2.1.0 16 Sep 2015

    Nothing published for this version

  42. v2.0.0 21 Aug 2015

    Nothing published for this version

  43. v1.2.3 17 Aug 2015

    Nothing published for this version

  44. v1.2.2 30 Jun 2015

    Nothing published for this version

  45. v1.2.1 30 Jun 2015

    Nothing published for this version

  46. v1.2.0 30 Jun 2015

    Nothing published for this version

  47. v1.1.0 29 Jun 2015

    Nothing published for this version

  48. v1.0.0 29 Jun 2015

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive