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

Functions

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