diff --git a/CHANGELOG.md b/CHANGELOG.md index e559916..4ced753 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -22,6 +22,25 @@ Updates should follow the [Keep a CHANGELOG](http://keepachangelog.com/) princip ### Security - Nothing ---> +## 1.5.0 - 2020-04-24 + +#### April 24, 2020 +#### Bot API 4.8 + +### Added +- Supported explanations for + [**Quizzes 2.0**](https://telegram.org/blog/400-million#better-quizzes). +Add explanations by specifying the parameters +explanation and `explanationParseMode` in the method `SendPollMethod`. +- Added the fields explanation and `explanationEntities` to the `PollType` class. +- Supported timed polls that automatically close at a certain date and time. +Set up by specifying the parameter `openPeriod` or `closeDate` in the `SendPollMethod`. +- Added the fields `openPeriod` and `closeDate` to the `PollType` class. +- Supported the new darts animation for the dice mini-game. +Choose between the default dice animation and darts animation +by specifying the parameter `emoji` in the `SendDiceMethod`. +Added two factory methods `createWithDice` and `createWithDarts` for `SendDiceMethod`. +- Added the field `emoji` to the `DiceType` class. ## 1.4.0 - 2020-03-31 diff --git a/README.md b/README.md index 685d28c..a35c5f4 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ [![Duplicated Lines (%)][sonar-duplicated-lines-icon]][sonar-path] [![Security Rating][sonar-security-rating-icon]][sonar-path] -#### Supported Telegram Bot API v4.6 (January 23, 2020 update) +#### Supported Telegram Bot API v4.8 (April 24, 2020) ## Installation @@ -146,7 +146,7 @@ If you discover any security related issues, please email wformps@gmail.com inst The MIT License (MIT). Please see [License File](LICENSE.md) for more information. [ico-php-v]: https://img.shields.io/travis/php-v/tg-bot-api/bot-api-base.svg?style=flat-square -[ico-bot-api]: https://img.shields.io/badge/Bot%20API-4.7-blue.svg?style=flat-square +[ico-bot-api]: https://img.shields.io/badge/Bot%20API-4.8-blue.svg?style=flat-square [ico-version]: https://img.shields.io/packagist/v/tg-bot-api/bot-api-base.svg?style=flat-square [ico-license]: https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square [ico-travis]: https://img.shields.io/travis/tg-bot-api/bot-api-base/master.svg?style=flat-square