Interface AnswerCustomQuery

Answers a custom query; for bots only. Request type for Tdjson#answerCustomQuery.

interface AnswerCustomQuery {
    @type: "answerCustomQuery";
    custom_query_id: string;
    data: string;
}

Properties

@type: "answerCustomQuery"
custom_query_id: string

Identifier of a custom query.

data: string

JSON-serialized answer to the query.