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