1
0
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:
2020-01-23 19:08:02 +06:00
parent 8687a2ba6b
commit a8ae0a296a
4 changed files with 64 additions and 9 deletions

View File

@@ -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