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.PreCheckoutQueryId
|
|
|
|
import kotlinx.serialization.KSerializer
|
2019-12-02 08:35:37 +00:00
|
|
|
import kotlinx.serialization.internal.BooleanSerializer
|
2018-12-26 08:07:24 +00:00
|
|
|
import kotlinx.serialization.serializer
|
|
|
|
|
|
|
|
interface AnswerPreCheckoutQuery : SimpleRequest<Boolean> {
|
|
|
|
override fun method(): String = "answerPreCheckoutQuery"
|
2019-12-02 08:35:37 +00:00
|
|
|
override val resultDeserializer: KSerializer<Boolean>
|
|
|
|
get() = BooleanSerializer
|
2018-12-26 08:07:24 +00:00
|
|
|
|
|
|
|
val preCheckoutQueryId: PreCheckoutQueryId
|
|
|
|
val isOk: Boolean
|
|
|
|
}
|