GetWidgetQueryAnswer constructor
const
GetWidgetQueryAnswer({
- required int chatId,
- required int messageId,
- required WidgetQueryType queryType,
- required String data,
Sends a widget 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 GetWidgetQueryAnswer({
required this.chatId,
required this.messageId,
required this.queryType,
required this.data,
});