bots.AnswerWebhookJSONQuery
- class pyrogram.raw.functions.bots.AnswerWebhookJSONQuery
Answers a custom query; for bots only
- Details:
Layer:
223ID:
E6213F4D
- Parameters:
query_id (
int64-bit) – Identifier of a custom querydata (
DataJSON) – JSON-serialized answer to the query
- Returns:
bool
TL Schema
bots.answerWebhookJSONQuery#e6213f4d
query_id:long
data:DataJSON
= Bool
Parameter Tree
Example
await app.invoke(
AnswerWebhookJSONQuery(
query_id=0,
data=DataJSON(data="text"),
)
)