answerPreCheckoutQuery - libtd-ktx

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


libtd-ktx / kotlinx.telegram.coroutines / answerPreCheckoutQuery

answerPreCheckoutQuery

suspend fun TelegramFlow.answerPreCheckoutQuery(preCheckoutQueryId: Long, errorMessage: String?): Unit

Suspend function, which sets the result of a pre-checkout query; for bots only.

Parameters

preCheckoutQueryId - Identifier of the pre-checkout query.

errorMessage - An error message, empty on success.