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 2023Releases
latest 48-
v2.5.009 Aug 2023Release notes
Open source →Added
- Add missing
protect_contentandallow_sending_without_replyparameters to\TelegramBot\Api\BotApimethods - Add support
attach://<file_attach_name>in\TelegramBot\Api\BotApimethodssendMediaGroup,createNewStickerSet,addStickerToSet,editMessageMedia - Rename
thumbtothumbnailparameter inAnimation,Document,Sticker,StickerSet,Video,VideoNotetypes - Rename
thumb_*tothumbnail_*parameter inInline/QueryResulttypes - Add missing phpDoc for
$replyMarkupparameters - Fix phpDoc for
\TelegramBot\Api\BotApi::setWebhook$allowedUpdatesparameter. Automatically serialize if array passed - Fix phpDoc for
\TelegramBot\Api\Types\Message::$newChatMembers - Add
\TelegramBot\Api\BotApi::getChatMemberCountmethod - Add
\TelegramBot\Api\BotApi::banChatMembermethod - Add
$messageIdto\TelegramBot\Api\BotApi::unpinChatMessage - Add
\TelegramBot\Api\Types\ForceReply::$inputFieldPlaceholderproperty
Deprecated
- Deprecate using
thumb*methods in\TelegramBot\Api\BotApi - Deprecate method
\TelegramBot\Api\BotApi::setStickerSetThumb. Use\TelegramBot\Api\BotApi::setStickerSetThumbnailinstead - Deprecate
\TelegramBot\Api\Types\ReplyKeyboardHideclass - Deprecate
\TelegramBot\Api\BotApi::getChatMembersCount. Use\TelegramBot\Api\BotApi::getChatMemberCountinstead - Deprecate
\TelegramBot\Api\BotApi::kickChatMember. Use\TelegramBot\Api\BotApi::banChatMemberinstead
- Add missing
-
v2.4.011 May 2023Release notes
Open source →Added
- Add
\TelegramBot\Api\Types\Venuemapping (foursquare_type,google_place_id,google_place_type) - Add
scopeandlanguageCodeparameters to\TelegramBot\Api\BotApi::setMyCommands - Add WebApp support:
\TelegramBot\Api\BotApi::answerWebAppQuerymethod and\TelegramBot\Api\Types\Message::$webAppDataproperty - Add
\TelegramBot\Api\Types\ReplyKeyboardMarkup::$isPersistentproperty - Add
\TelegramBot\Api\Types\ReplyKeyboardMarkup::$inputFieldPlaceholderproperty
Fixed
- Fix
\TelegramBot\Api\Collection\Collection::addItemmax count constraint (#333) - Fix
\TelegramBot\Api\Types\StickerSetmapping - Fix
\TelegramBot\Api\BotApi::copyMessagenot returning\TelegramBot\Api\Types\MessageId - Fix new
$messageThreadIdparameter in\TelegramBot\Api\BotApimethods placed not in the end of the list of parameters
Changed
\TelegramBot\Api\BotApi::getMyCommandsnow returns instance\TelegramBot\Api\Types\ArrayOfBotCommandinstead of\TelegramBot\Api\Types\BotCommandarray\TelegramBot\Api\BotApi::setMyCommandsnow accepts instance of\TelegramBot\Api\Types\ArrayOfBotCommandinstead of\TelegramBot\Api\Types\BotCommandarray
Deprecated
- Deprecate
\TelegramBot\Api\Botanclass - Deprecate
$trackerTokenparameter in\TelegramBot\Api\BotApi::__construct - Deprecate
$trackerTokenparameter in\TelegramBot\Api\Events\EventCollection::__construct - Deprecate
\TelegramBot\Api\Types\PollAnswer::getFromuse\TelegramBot\Api\Types\PollAnswer::getUserinstead - Deprecate passing array of BotCommand to
\TelegramBot\Api\BotApi::setMyCommands. Use\TelegramBot\Api\Types\ArrayOfBotCommandinstead
- Add
-
v2.3.2621 Apr 2023Release notes
Open source →Merge pull request #398 from nullform/fix-no-default-value
Default value for $inlineKeyboard
-
v2.3.2506 Mar 2023Release notes
Open source →Merge pull request #385 from bernard-ng/master
add support for forum topic (Bot API 6.3)
-
v2.3.2406 Dec 2021Nothing published for this version
-
v2.3.2305 Nov 2021 -
v2.3.2209 Mar 2021Release notes
Open source →Merge pull request #322 from TelegramBot/updateMethods
Update sendVoice & sendDice methods
-
v2.3.2123 Jan 2021Release notes
Open source →Merge pull request #314 from TelegramBot/feature/botCommands
Add BotCommand type, setMyCommands and getMyCommands methods
-
v2.3.2013 Jan 2021Release notes
Open source →Merge pull request #309 from TelegramBot/feature/copyMessage
Patch: fix copyMessage method
-
v2.3.1913 Jan 2021Release notes
Open source →Merge pull request #308 from TelegramBot/feature/copyMessage
Add copyMessage method
-
v2.3.1813 Jan 2021Nothing published for this version
-
v2.3.1704 Sep 2020Nothing published for this version
-
v2.3.1612 Jul 2020Nothing published for this version
-
2.3.1516 Jun 2020Nothing published for this version
-
v2.3.1411 Jun 2020Nothing published for this version
-
v2.3.1330 Apr 2018Nothing published for this version
-
v2.3.1220 Apr 2018Nothing published for this version
-
v2.3.1120 Apr 2018Nothing published for this version
-
v2.3.1017 Apr 2018Nothing published for this version
-
v2.3.929 Mar 2018Nothing published for this version
-
v2.3.816 Mar 2018Nothing published for this version
-
v2.3.709 Nov 2017Nothing published for this version
-
v2.3.603 Nov 2017Nothing published for this version
-
v2.3.501 Sep 2017Nothing published for this version
-
v2.3.427 Jul 2017Nothing published for this version
-
v2.3.312 Jul 2017Nothing published for this version
-
v2.3.208 Jul 2017Nothing published for this version
-
v2.3.120 Jun 2017Nothing published for this version
-
v2.3.021 Jun 2017Nothing published for this version
-
2.2.1029 May 2017Nothing published for this version
-
2.2.914 Apr 2017Nothing published for this version
-
2.2.805 Apr 2017Nothing published for this version
-
2.2.717 Mar 2017Nothing published for this version
-
2.2.612 Dec 2016Nothing published for this version
-
2.2.529 May 2016Nothing published for this version
-
v2.2.418 Dec 2015Nothing published for this version
-
v2.2.312 Dec 2015Nothing published for this version
-
v2.2.225 Oct 2015Nothing published for this version
-
v2.2.123 Sep 2015Nothing published for this version
-
v2.2.020 Sep 2015Nothing published for this version
-
v2.1.016 Sep 2015Nothing published for this version
-
v2.0.021 Aug 2015Nothing published for this version
-
v1.2.317 Aug 2015Nothing published for this version
-
v1.2.230 Jun 2015Nothing published for this version
-
v1.2.130 Jun 2015Nothing published for this version
-
v1.2.030 Jun 2015Nothing published for this version
-
v1.1.029 Jun 2015Nothing published for this version
-
v1.0.029 Jun 2015Nothing published for this version