15 lines
631 B
Kotlin
15 lines
631 B
Kotlin
package com.github.insanusmokrassar.TelegramBotAPI.requests.answers.payments.abstracts
|
|
|
|
import com.github.insanusmokrassar.TelegramBotAPI.requests.abstracts.SimpleRequest
|
|
import com.github.insanusmokrassar.TelegramBotAPI.types.ShippingQueryIdentifier
|
|
import kotlinx.serialization.*
|
|
import kotlinx.serialization.internal.BooleanSerializer
|
|
|
|
interface AnswerShippingQuery : SimpleRequest<Boolean> {
|
|
override fun method(): String = "answerShippingQuery"
|
|
override val resultDeserializer: DeserializationStrategy<Boolean>
|
|
get() = BooleanSerializer
|
|
|
|
val shippingQueryId: ShippingQueryIdentifier
|
|
val isOk: Boolean
|
|
} |