1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2025-09-16 13:49:26 +00:00

changes in InlineQuery

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

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
}