Package dev.inmo.tgbotapi.extensions.api.answers.payments

Functions

Link copied to clipboard
suspend fun TelegramBot.answerPreCheckoutQueryError(preCheckoutQuery: PreCheckoutQuery, error: String): Boolean
suspend fun TelegramBot.answerPreCheckoutQueryError(id: PreCheckoutQueryId, error: String): Boolean
Link copied to clipboard
suspend fun TelegramBot.answerPreCheckoutQueryOk(preCheckoutQuery: PreCheckoutQuery): Boolean
suspend fun TelegramBot.answerPreCheckoutQueryOk(id: PreCheckoutQueryId): Boolean
Link copied to clipboard
suspend fun TelegramBot.answerShippingQueryError(shippingQuery: ShippingQuery, error: String): Boolean
suspend fun TelegramBot.answerShippingQueryError(id: ShippingQueryIdentifier, error: String): Boolean
Link copied to clipboard
suspend fun TelegramBot.answerShippingQueryOk(shippingQuery: ShippingQuery, shippingOptions: List<ShippingOption>): Boolean
suspend fun TelegramBot.answerShippingQueryOk(id: ShippingQueryIdentifier, shippingOptions: List<ShippingOption>): Boolean