mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2025-09-15 13:19:30 +00:00
separated User object and additional fields for Bot representation
This commit is contained in:
@@ -26,6 +26,10 @@
|
||||
* `UnknownKeyboardButtonPollType`
|
||||
* `RegularKeyboardButtonPollType`
|
||||
* `QuizKeyboardButtonPollType`
|
||||
* `User` now is sealed class
|
||||
* `CommonUser` was added as representation of default `User`
|
||||
* `Bot` was added as representation of bot user
|
||||
* `GetMe` now return `Bot` object
|
||||
|
||||
## 0.22.0
|
||||
|
||||
|
Reference in New Issue
Block a user