mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2024-10-31 21:43:48 +00:00
changes in InlineQuery
This commit is contained in:
parent
2300b44aae
commit
f1deb93147
@ -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
|
||||
|
||||
|
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user