# dev.inmo.tgbotapi.requests.answers.payments

docs

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

## Types

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

## Functions

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