Interface GetCallbackQueryAnswer

Sends a callback query to a bot and returns an answer. Returns an error with code 502 if the bot fails to answer the query before the query timeout expires. Request type for Tdjson#getCallbackQueryAnswer.

interface GetCallbackQueryAnswer {
    @type: "getCallbackQueryAnswer";
    chat_id: number;
    message_id: number;
    payload: CallbackQueryPayload;
}

Properties

@type: "getCallbackQueryAnswer"
chat_id: number

Identifier of the chat with the message.

message_id: number

Identifier of the message from which the query originated. The message must not be scheduled.

Query payload.