AnswerInlineQuery constructor

const AnswerInlineQuery({
  1. required int inlineQueryId,
  2. required bool isPersonal,
  3. required List<InputInlineQueryResult> results,
  4. required int cacheTime,
  5. required String nextOffset,
  6. required String switchPmText,
  7. required String switchPmParameter,
})

Sets the result of an inline query; for bots only

Implementation

const AnswerInlineQuery({
  required this.inlineQueryId,
  required this.isPersonal,
  required this.results,
  required this.cacheTime,
  required this.nextOffset,
  required this.switchPmText,
  required this.switchPmParameter,
});