NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist
Packagist, #3776 most downloaded on Packagist
PHP Wrapper for Telegram Bot API
Latest stable
v2.5.0
Last release 3 years ago
no release in 18 months
Ships unpredictably
gaps range from 1 weeks to 1.2 years
Some releases are documented
notes for 26 of 48 stable releases
Nothing withdrawn
no release was ever pulled
11 years old
48 releases · first in 2015
Drag across the ruler to compare, or tap a release to open it.
CHANGELOG
protect_content and allow_sending_without_reply parameters to \TelegramBot\Api\BotApi methodsattach://<file_attach_name> in \TelegramBot\Api\BotApi methods sendMediaGroup, createNewStickerSet, addStickerToSet, editMessageMediathumb to thumbnail parameter in Animation, Document, Sticker, StickerSet, Video, VideoNote typesthumb_* to thumbnail_* parameter in Inline/QueryResult types$replyMarkup parameters\TelegramBot\Api\BotApi::setWebhook $allowedUpdates parameter. Automatically serialize if array passed\TelegramBot\Api\Types\Message::$newChatMembers\TelegramBot\Api\BotApi::getChatMemberCount method\TelegramBot\Api\BotApi::banChatMember method$messageId to \TelegramBot\Api\BotApi::unpinChatMessage\TelegramBot\Api\Types\ForceReply::$inputFieldPlaceholder propertythumb* methods in \TelegramBot\Api\BotApi\TelegramBot\Api\BotApi::setStickerSetThumb. Use \TelegramBot\Api\BotApi::setStickerSetThumbnail instead\TelegramBot\Api\Types\ReplyKeyboardHide class\TelegramBot\Api\BotApi::getChatMembersCount. Use \TelegramBot\Api\BotApi::getChatMemberCount instead\TelegramBot\Api\BotApi::kickChatMember. Use \TelegramBot\Api\BotApi::banChatMember insteadYour coding agent can read these notes before it upgrades. Set up the MCP server →
Merge pull request #428 from BoShurik/release
Merge pull request #428 from BoShurik/release
Prepare release
\TelegramBot\Api\Types\Venue mapping (foursquare_type, google_place_id, google_place_type)scope and languageCode parameters to \TelegramBot\Api\BotApi::setMyCommands\TelegramBot\Api\BotApi::answerWebAppQuery method and \TelegramBot\Api\Types\Message::$webAppData property\TelegramBot\Api\Types\ReplyKeyboardMarkup::$isPersistent property\TelegramBot\Api\Types\ReplyKeyboardMarkup::$inputFieldPlaceholder property\TelegramBot\Api\Collection\Collection::addItem max count constraint (#333)\TelegramBot\Api\Types\StickerSet mapping\TelegramBot\Api\BotApi::copyMessage not returning \TelegramBot\Api\Types\MessageId$messageThreadId parameter in \TelegramBot\Api\BotApi methods placed not in the end of the list of parameters\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\TelegramBot\Api\Botan class$trackerToken parameter in \TelegramBot\Api\BotApi::__construct$trackerToken parameter in \TelegramBot\Api\Events\EventCollection::__construct\TelegramBot\Api\Types\PollAnswer::getFrom use \TelegramBot\Api\Types\PollAnswer::getUser instead\TelegramBot\Api\BotApi::setMyCommands. Use \TelegramBot\Api\Types\ArrayOfBotCommand insteadMerge pull request #398 from nullform/fix-no-default-value
Merge pull request #398 from nullform/fix-no-default-value
Default value for $inlineKeyboard
Merge pull request #385 from bernard-ng/master
Merge pull request #385 from bernard-ng/master
add support for forum topic (Bot API 6.3)
Nothing published for this version
Merge pull request #352 from BoShurik/doc-types
Merge pull request #352 from BoShurik/doc-types
Fix doc types
Merge pull request #322 from TelegramBot/updateMethods
Merge pull request #322 from TelegramBot/updateMethods
Update sendVoice & sendDice methods
Merge pull request #314 from TelegramBot/feature/botCommands
Merge pull request #314 from TelegramBot/feature/botCommands
Add BotCommand type, setMyCommands and getMyCommands methods
Merge pull request #309 from TelegramBot/feature/copyMessage
Merge pull request #309 from TelegramBot/feature/copyMessage
Patch: fix copyMessage method
Merge pull request #308 from TelegramBot/feature/copyMessage
Merge pull request #308 from TelegramBot/feature/copyMessage
Add copyMessage method
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Add WebhookInfo and Dice methods.
Add WebhookInfo and Dice methods.
Nothing published for this version
Nothing published for this version
Nothing published for this version
Added ability to setup proxy for requests to Telegram API
Added ability to setup proxy for requests to Telegram API
Nothing published for this version
Add new features from Bot API 3.5 Add new features from Bot API 3.6 Add some missed methods.
Add new features from Bot API 3.5 Add new features from Bot API 3.6 Add some missed methods.
Add getParameters method to HttpException
Add getParameters method to HttpException
Add new features from Bot API 3.4
Add new features from Bot API 3.4
Add new features from Bot API 3.3
Add new features from Bot API 3.3
Added missed callbackQuery method.
Added missed callbackQuery method.
Nothing published for this version
Add new checkers to Client class.
Client class.Add all features from Bot API 3.1:
restrictChatMember and promoteChatMember to manage users and admins, added new parameter until_date to kickChatMember for temporary bans.exportChatInviteLink, setChatPhoto, deleteChatPhoto, setChatTitle, setChatDescription, pinChatMessage and unpinChatMessage to manage groups and channels.photo, description and invite_link to the Chat object.until_date, can_be_edited, can_change_info, can_post_messages, can_edit_messages, can_delete_messages, can_invite_users, can_restrict_members, can_pin_messages, can_promote_members, can_send_messages, can_send_media_messages, can_send_other_messages and can_add_web_page_previews to the ChatMember object.Fix editMessageReplyMarkup and editMessageCaption methods. Add inline_message_id param.
Fix editMessageReplyMarkup and editMessageCaption methods.
Add inline_message_id param.
Your bot can now accept payments for goods and services via Telegram.
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Fixed bug with channel id as in the format @channelusername (reproduced since version 2.2.2).
Added support for supergroups. The Type field in the Chat object can now contain ‘supergroup’.
supergroup_chat_created, migrate_to_chat_id, migrate_from_chat_id and channel_chat_created.Added initial channel support for bots (no Telegram clients support this at the moment, please wait for updates):
Recent API changes:
Nothing published for this version
Bots can now download files and media sent by users:
Bots can now download files and media sent by users:
File typegetFile methodImplemented latest changes in the Telegram API
Implemented latest changes in the Telegram API
Added Update and ArrayOfUpdates types
Added HttpException for catching invalid responses from telegram server
Added HttpException for catching invalid responses from telegram server
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
One column per quarter.