GetCallbackQueryAnswer constructor

const GetCallbackQueryAnswer({
  1. required int chatId,
  2. required int messageId,
  3. required CallbackQueryPayload payload,
})

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

Implementation

const GetCallbackQueryAnswer({
  required this.chatId,
  required this.messageId,
  required this.payload,
});