1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2025-12-04 21:35:44 +00:00

SendRegularPoll, SendQuizPoll

This commit is contained in:
2020-01-23 17:01:13 +06:00
parent 258ab44bac
commit 4e39f77b53
4 changed files with 140 additions and 60 deletions

View File

@@ -6,6 +6,9 @@
* `RegularPoll` type was added to represent polls with type `regular`
* `QuizPoll` type was added to represent polls with type `quiz`
* `UnknownPollType` type was added to represent polls which are unknown in current version
* `SendPoll` was rewritten as sealed class
* `SendRegularPoll` was created and represent `sendPoll` method with type `regular`
* `SendQuizPoll` was created and represent `sendPoll` method with type `quiz`
## 0.22.0