docs / com.github.insanusmokrassar.TelegramBotAPI.requests.answers.payments

Package com.github.insanusmokrassar.TelegramBotAPI.requests.answers.payments

Types

(common)

AnswerPreCheckoutQueryError

data class AnswerPreCheckoutQueryError : AnswerPreCheckoutQuery
(common)

AnswerPreCheckoutQueryOk

data class AnswerPreCheckoutQueryOk : AnswerPreCheckoutQuery
(common)

AnswerShippingQueryError

data class AnswerShippingQueryError : AnswerShippingQuery
(common)

AnswerShippingQueryOk

data class AnswerShippingQueryOk : AnswerShippingQuery

Functions

(common)

createAnswerError

fun PreCheckoutQuery.createAnswerError(error: String): AnswerPreCheckoutQueryError
fun ShippingQuery.createAnswerError(error: String): AnswerShippingQueryError
(common)

createAnswerOk

fun PreCheckoutQuery.createAnswerOk(): AnswerPreCheckoutQueryOk
fun ShippingQuery.createAnswerOk(shippingOptions: List<ShippingOption>): AnswerShippingQueryOk