Skip to content

Commit 40acf3b

Browse files
committed
#31: Bot api update April 24, 2020. Readme and Changelog
1 parent 1c8f50f commit 40acf3b

File tree

2 files changed

+21
-2
lines changed

2 files changed

+21
-2
lines changed

CHANGELOG.md

+19
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,25 @@ Updates should follow the [Keep a CHANGELOG](http://keepachangelog.com/) princip
2222
### Security
2323
- Nothing
2424
--->
25+
## 1.5.0 - 2020-04-24
26+
27+
#### April 24, 2020
28+
#### Bot API 4.8
29+
30+
### Added
31+
- Supported explanations for
32+
[**Quizzes 2.0**](https://telegram.org/blog/400-million#better-quizzes).
33+
Add explanations by specifying the parameters
34+
explanation and `explanationParseMode` in the method `SendPollMethod`.
35+
- Added the fields explanation and `explanationEntities` to the `PollType` class.
36+
- Supported timed polls that automatically close at a certain date and time.
37+
Set up by specifying the parameter `openPeriod` or `closeDate` in the `SendPollMethod`.
38+
- Added the fields `openPeriod` and `closeDate` to the `PollType` class.
39+
- Supported the new darts animation for the dice mini-game.
40+
Choose between the default dice animation and darts animation
41+
by specifying the parameter `emoji` in the `SendDiceMethod`.
42+
Added two factory methods `createWithDice` and `createWithDarts` for `SendDiceMethod`.
43+
- Added the field `emoji` to the `DiceType` class.
2544

2645
## 1.4.0 - 2020-03-31
2746

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
[![Duplicated Lines (%)][sonar-duplicated-lines-icon]][sonar-path]
1515
[![Security Rating][sonar-security-rating-icon]][sonar-path]
1616

17-
#### Supported Telegram Bot API v4.6 (January 23, 2020 update)
17+
#### Supported Telegram Bot API v4.8 (April 24, 2020)
1818

1919
## Installation
2020

@@ -146,7 +146,7 @@ If you discover any security related issues, please email [email protected] inst
146146
The MIT License (MIT). Please see [License File](LICENSE.md) for more information.
147147

148148
[ico-php-v]: https://img.shields.io/travis/php-v/tg-bot-api/bot-api-base.svg?style=flat-square
149-
[ico-bot-api]: https://img.shields.io/badge/Bot%20API-4.7-blue.svg?style=flat-square
149+
[ico-bot-api]: https://img.shields.io/badge/Bot%20API-4.8-blue.svg?style=flat-square
150150
[ico-version]: https://img.shields.io/packagist/v/tg-bot-api/bot-api-base.svg?style=flat-square
151151
[ico-license]: https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square
152152
[ico-travis]: https://img.shields.io/travis/tg-bot-api/bot-api-base/master.svg?style=flat-square

0 commit comments

Comments
 (0)