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

Types

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

Functions

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