This repository has been archived by the owner on Sep 7, 2022. It is now read-only.
Releases: Lukasss93/telegrambot-php
Releases · Lukasss93/telegrambot-php
1.7.1
1.7
[1.7] - 2020-03-18
Changed
- Added support for PHP 7.2+
- Updated to Telegram Bot API 4.5 + 4.6
- Improved PHPDocs
- Updated code indentation to PSR-12 standard
- Updated LICENSE file
- Updated CHANGELOG file using Keep a Changelog
Fixed
- Missing fields in some types
Removed
- Dropped support for PHP 5.6
1.6.14
1.6.13
1.6.12
1.6.11
Added
- Added custom method:
clearUpdates()
. It's an alias for$this->getUpdates(-1);
- Added
TelegramLimits
class constants to get the download/upload file limit.
Changed
- Updated to Telegram Bot API 4.1
- You can now get the string argument at the array index position with the
getArgs()
method. Pass:- True to get an array of strings;
- False to get a string;
- Integer to get the string at the array index position.
1.6.10
1.6.9
[1.6.9]
Added
- Added 3 classes in constants namespace:
- MessageEntityTypes
- PassportSources
- PassportTypes
Changed
- Updated to Telegram Bot API 4.0
- Updated license file.
- Updated phpdocs in methods.
- Updated code indentation.
- Replaced whitespaces with tabs.
Removed
- Removed unused variables.
Fixed
- JsonMapper Exception
true
type $pay
parameter unused inbuildInlineKeyboardButton()
method.- Missing
$allowed_updates
parameter togetUpdates()
method.