1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2024-12-26 10:37:13 +00:00
This commit is contained in:
InsanusMokrassar 2023-03-02 20:33:49 +06:00
parent f1deb93147
commit f616a02f7c
3 changed files with 5 additions and 3 deletions

View File

@ -3,10 +3,11 @@ package dev.inmo.tgbotapi.types.InlineQueries.query
import dev.inmo.tgbotapi.types.InlineQueryIdentifier
import dev.inmo.tgbotapi.types.chat.User
import dev.inmo.tgbotapi.types.chat.ChatType
import dev.inmo.tgbotapi.types.chat.CommonUser
data class BaseInlineQuery(
override val id: InlineQueryIdentifier,
override val from: User,
override val from: CommonUser,
override val query: String,
override val offset: String,
override val chatType: ChatType?

View File

@ -3,11 +3,12 @@ package dev.inmo.tgbotapi.types.InlineQueries.query
import dev.inmo.tgbotapi.types.InlineQueryIdentifier
import dev.inmo.tgbotapi.types.chat.User
import dev.inmo.tgbotapi.types.chat.ChatType
import dev.inmo.tgbotapi.types.chat.CommonUser
import dev.inmo.tgbotapi.types.location.Location
data class LocationInlineQuery(
override val id: InlineQueryIdentifier,
override val from: User,
override val from: CommonUser,
override val query: String,
override val offset: String,
override val chatType: ChatType?,

View File

@ -12,7 +12,7 @@ internal data class RawInlineQuery(
@SerialName(idField)
val id: InlineQueryIdentifier,
@SerialName(fromField)
val from: User,
val from: CommonUser,
@SerialName(queryField)
val query: String,
@SerialName(offsetField)