# com.github.insanusmokrassar.TelegramBotAPI.extensions.api.answers.payments - docs

docs / com.github.insanusmokrassar.TelegramBotAPI.extensions.api.answers.payments

## Package com.github.insanusmokrassar.TelegramBotAPI.extensions.api.answers.payments

### Functions

(common)

#### answerPreCheckoutQueryError

`suspend fun RequestsExecutor.answerPreCheckoutQueryError(id: PreCheckoutQueryId, error: String): Boolean`
`suspend fun RequestsExecutor.answerPreCheckoutQueryError(preCheckoutQuery: PreCheckoutQuery, error: String): Boolean`

(common)

#### answerPreCheckoutQueryOk

`suspend fun RequestsExecutor.answerPreCheckoutQueryOk(id: PreCheckoutQueryId): Boolean`
`suspend fun RequestsExecutor.answerPreCheckoutQueryOk(preCheckoutQuery: PreCheckoutQuery): Boolean`

(common)

#### answerShippingQueryError

`suspend fun RequestsExecutor.answerShippingQueryError(id: ShippingQueryIdentifier, error: String): Boolean`
`suspend fun RequestsExecutor.answerShippingQueryError(shippingQuery: ShippingQuery, error: String): Boolean`

(common)

#### answerShippingQueryOk

`suspend fun RequestsExecutor.answerShippingQueryOk(id: ShippingQueryIdentifier, shippingOptions: List<ShippingOption>): Boolean`
`suspend fun RequestsExecutor.answerShippingQueryOk(shippingQuery: ShippingQuery, shippingOptions: List<ShippingOption>): Boolean`