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.