GetCallbackQueryAnswer constructor

GetCallbackQueryAnswer(
  1. {required int chat_id,
  2. required int message_id,
  3. required CallbackQueryPayload payload,
  4. int? extra,
  5. int? clientId}
)

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

Returns CallbackQueryAnswer

Implementation

GetCallbackQueryAnswer