Skip to content

answer custom query

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

libtd-ktx / kotlinx.telegram.coroutines / answerCustomQuery

answerCustomQuery

suspend fun TelegramFlow.answerCustomQuery(customQueryId: Long, data: String?): Unit

Suspend function, which answers a custom query; for bots only.

Parameters

customQueryId - Identifier of a custom query.

data - JSON-serialized answer to the query.

Clone this wiki locally