Releases: TelegramBot/Api
Releases · TelegramBot/Api
2.2.9: Merge pull request #59 from pwsdotru/issue-54
Fix issue for call toJson on a non-object
Merge pull request #56 from vitorbari/patch-callback-query
Patch CallbackQuery
2.2.7
2.2.6
2.2.5: Merge pull request #36 from POPSuL/patch-4
Small fixes in PHPDoc
Version 2.2.4 Stable
- Fixed bug with channel id as in the format @channelusername (reproduced since version 2.2.2).
Version 2.2.3 Stable
- Added support for supergroups. The Type field in the Chat object can now contain ‘supergroup’.
- New optional fields added to the Message object:
supergroup_chat_created
,migrate_to_chat_id
,migrate_from_chat_id
andchannel_chat_created
. - Some docs fixes and improvements
Version 2.2.2 Stable
Recent API changes:
- Added initial channel support for bots (no Telegram clients support this at the moment, please wait for updates):
- The Chat field in the Message is now of the new type Chat.
- You can now pass a channel username (in the format @channelusername) in the place of chat_id in all methods (and instead of from_chat_id in forwardMessage). For this to work, the bot must be an administrator in the channel (and that‘s exactly what Telegram clients don’t support yet — adding bots as administrators coming soon).
Version 2.2.1 Stable
- added
downloadFile
method
Version 2.2.0 Stable
Bots can now download files and media sent by users:
- Added
File
type - Added
getFile
method