Package dev. inmo. tgbotapi. requests. answers. payments
Types
AnswerPreCheckoutQueryError
Link copied to clipboard
data class AnswerPreCheckoutQueryError(preCheckoutQueryId: PreCheckoutQueryId, errorMessage: String) : AnswerPreCheckoutQuery
Content copied to clipboard
AnswerPreCheckoutQueryOk
Link copied to clipboard
data class AnswerPreCheckoutQueryOk(preCheckoutQueryId: PreCheckoutQueryId) : AnswerPreCheckoutQuery
Content copied to clipboard
AnswerShippingQueryError
Link copied to clipboard
data class AnswerShippingQueryError(shippingQueryId: ShippingQueryIdentifier, error: String) : AnswerShippingQuery
Content copied to clipboard
AnswerShippingQueryOk
Link copied to clipboard
data class AnswerShippingQueryOk(shippingQueryId: ShippingQueryIdentifier, shippingOptions: List<ShippingOption>) : AnswerShippingQuery
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 ShippingQuery.createAnswerOk(shippingOptions: List<ShippingOption>): AnswerShippingQueryOk
Content copied to clipboard