Skip to content

getCallbackQueryAnswer

Function · TDLib 1.8.67 · d1085f9c

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

getCallbackQueryAnswer(
  chat_id: int53,
  message_id: int53,
  payload: CallbackQueryPayload
) → CallbackQueryAnswer

chat_id

int53

Identifier of the chat with the message

message_id

int53

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

payload

CallbackQueryPayload

Query payload