1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2024-11-25 19:48:43 +00:00

changes in InlineQuery

This commit is contained in:
InsanusMokrassar 2023-03-02 19:33:15 +06:00
parent 2300b44aae
commit f1deb93147
2 changed files with 8 additions and 1 deletions

View File

@ -3,7 +3,8 @@
## 6.0.3
* `Core`:
* `User` in `CallbackQuery` now is `CommonUser` as well as `from`
* `User` in `CallbackQuery` now is `CommonUser` as well as in `from`
* `User` in `InlineQuery` now is `CommonUser` as well as in `from`
* `BehaviourBuilder`:
* Fixes in `DeepLink` triggers and waiters

View File

@ -3,10 +3,16 @@ package dev.inmo.tgbotapi.types.InlineQueries.query
import dev.inmo.tgbotapi.abstracts.FromUser
import dev.inmo.tgbotapi.types.InlineQueryIdentifier
import dev.inmo.tgbotapi.types.chat.ChatType
import dev.inmo.tgbotapi.types.chat.CommonUser
import dev.inmo.tgbotapi.types.chat.User
sealed interface InlineQuery : FromUser {
val id: InlineQueryIdentifier
val query: String
val offset: String
val chatType: ChatType?
override val from: CommonUser
override val user: CommonUser
get() = from
}