Package dev.inmo.tgbotapi.requests.answers.payments

Types

AnswerPreCheckoutQueryError
Link copied to clipboard
common
data class AnswerPreCheckoutQueryError(preCheckoutQueryId: String, errorMessage: String) : AnswerPreCheckoutQuery
AnswerPreCheckoutQueryOk
Link copied to clipboard
common
data class AnswerPreCheckoutQueryOk(preCheckoutQueryId: String) : AnswerPreCheckoutQuery
AnswerShippingQueryError
Link copied to clipboard
common
data class AnswerShippingQueryError(shippingQueryId: String, error: String) : AnswerShippingQuery
AnswerShippingQueryOk
Link copied to clipboard
common
data class AnswerShippingQueryOk(shippingQueryId: String, shippingOptions: List<ShippingOption>) : AnswerShippingQuery

Functions

createAnswerError
Link copied to clipboard
common
fun PreCheckoutQuery.createAnswerError(error: String): AnswerPreCheckoutQueryError
fun ShippingQuery.createAnswerError(error: String): AnswerShippingQueryError
createAnswerOk
Link copied to clipboard
common
fun PreCheckoutQuery.createAnswerOk(): AnswerPreCheckoutQueryOk
fun ShippingQuery.createAnswerOk(shippingOptions: List<ShippingOption>): AnswerShippingQueryOk