get_callback_query_answer


Description:

public async CallbackQueryAnswer get_callback_query_answer (int64 chat_id, int64 message_id, CallbackQueryPayload payload) throws TDLibError

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

Parameters:

chat_id

Identifier of the chat with the message

message_id

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

payload

Query payload