GetCallbackQueryAnswer constructor
const
GetCallbackQueryAnswer({
- required int chatId,
- required int messageId,
- 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,
});