2018-12-26 08:07:24 +00:00
|
|
|
package com.github.insanusmokrassar.TelegramBotAPI.requests.answers.payments.abstracts
|
|
|
|
|
|
|
|
import com.github.insanusmokrassar.TelegramBotAPI.requests.abstracts.SimpleRequest
|
|
|
|
import com.github.insanusmokrassar.TelegramBotAPI.types.ShippingQueryIdentifier
|
2019-12-02 08:35:37 +00:00
|
|
|
import kotlinx.serialization.*
|
|
|
|
import kotlinx.serialization.internal.BooleanSerializer
|
2018-12-26 08:07:24 +00:00
|
|
|
|
|
|
|
interface AnswerShippingQuery : SimpleRequest<Boolean> {
|
|
|
|
override fun method(): String = "answerShippingQuery"
|
2019-12-02 08:35:37 +00:00
|
|
|
override val resultDeserializer: DeserializationStrategy<Boolean>
|
|
|
|
get() = BooleanSerializer
|
2018-12-26 08:07:24 +00:00
|
|
|
|
|
|
|
val shippingQueryId: ShippingQueryIdentifier
|
|
|
|
val isOk: Boolean
|
|
|
|
}
|