1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2025-09-15 13:19:30 +00:00

rewrite work with Bot class

This commit is contained in:
2020-01-23 22:32:45 +06:00
parent 7a880ba2bd
commit 0c11be7fe4
4 changed files with 50 additions and 19 deletions

View File

@@ -29,8 +29,10 @@
* `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
* `Bot` was added as representation of bot user (it is sealed class)
* `ExtendedBot` with additional info
* `CommonBot` with simple info
* `GetMe` now return `ExtendedBot` object
* Now extension `javaLocale` is extension for `CommonUser`
## 0.22.0