Skip to content

answer pre checkout query

Alexey Kravtsov edited this page May 19, 2020 · 1 revision

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.

Clone this wiki locally