mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2025-09-02 22:59:48 +00:00
fix of InlineQuery offset type
This commit is contained in:
@@ -7,5 +7,5 @@ interface InlineQuery {
|
|||||||
val id: InlineQueryIdentifier
|
val id: InlineQueryIdentifier
|
||||||
val from: User
|
val from: User
|
||||||
val query: String
|
val query: String
|
||||||
val offset: Long
|
val offset: String
|
||||||
}
|
}
|
@@ -8,5 +8,5 @@ data class BaseInlineQuery(
|
|||||||
override val id: InlineQueryIdentifier,
|
override val id: InlineQueryIdentifier,
|
||||||
override val from: User,
|
override val from: User,
|
||||||
override val query: String,
|
override val query: String,
|
||||||
override val offset: Long
|
override val offset: String
|
||||||
) : InlineQuery
|
) : InlineQuery
|
||||||
|
@@ -7,6 +7,6 @@ data class LocationInlineQuery(
|
|||||||
override val id: InlineQueryIdentifier,
|
override val id: InlineQueryIdentifier,
|
||||||
override val from: User,
|
override val from: User,
|
||||||
override val query: String,
|
override val query: String,
|
||||||
override val offset: Long,
|
override val offset: String,
|
||||||
val location: Location
|
val location: Location
|
||||||
) : InlineQuery
|
) : InlineQuery
|
||||||
|
@@ -12,7 +12,7 @@ data class RawInlineQuery(
|
|||||||
@SerialName(queryField)
|
@SerialName(queryField)
|
||||||
val query: String,
|
val query: String,
|
||||||
@SerialName(offsetField)
|
@SerialName(offsetField)
|
||||||
val offset: Long,
|
val offset: String,
|
||||||
@SerialName(locationField)
|
@SerialName(locationField)
|
||||||
@Optional
|
@Optional
|
||||||
val location: Location? = null
|
val location: Location? = null
|
||||||
|
Reference in New Issue
Block a user