answerShippingQuery - libtd-ktx

Kotlin Coroutines extensions for Telegram API TDLib (Telegram Database library)


libtd-ktx / kotlinx.telegram.coroutines / answerShippingQuery

answerShippingQuery

suspend fun TelegramFlow.answerShippingQuery(shippingQueryId: Long, shippingOptions: Array<ShippingOption>?, errorMessage: String?): Unit

Suspend function, which sets the result of a shipping query; for bots only.

Parameters

shippingQueryId - Identifier of the shipping query.

shippingOptions - Available shipping options.

errorMessage - An error message, empty on success.