Package dev. inmo. tgbotapi. requests. answers. payments
Types
Answer Pre Checkout Query Error
Link copied to clipboard
data class AnswerPreCheckoutQueryError(preCheckoutQueryId: PreCheckoutQueryId, errorMessage: String) : AnswerPreCheckoutQuery
Content copied to clipboard
Answer Pre Checkout Query Ok
Link copied to clipboard
data class AnswerPreCheckoutQueryOk(preCheckoutQueryId: PreCheckoutQueryId) : AnswerPreCheckoutQuery
Content copied to clipboard
Answer Shipping Query Error
Link copied to clipboard
data class AnswerShippingQueryError(shippingQueryId: ShippingQueryIdentifier, error: String) : AnswerShippingQuery
Content copied to clipboard
Answer Shipping Query Ok
Link copied to clipboard
data class AnswerShippingQueryOk(shippingQueryId: ShippingQueryIdentifier, shippingOptions: List<ShippingOption>) : AnswerShippingQuery
Content copied to clipboard
Shipping Options Serializer
Link copied to clipboard
Functions
create Answer Error
Link copied to clipboard
fun PreCheckoutQuery.createAnswerError(error: String): AnswerPreCheckoutQueryError
Content copied to clipboard
fun ShippingQuery.createAnswerError(error: String): AnswerShippingQueryError
Content copied to clipboard
create Answer Ok
Link copied to clipboard
fun ShippingQuery.createAnswerOk(shippingOptions: List<ShippingOption>): AnswerShippingQueryOk
Content copied to clipboard