GetInlineQueryResults constructor

const GetInlineQueryResults({
  1. required int botUserId,
  2. required int chatId,
  3. Location? userLocation,
  4. required String query,
  5. required String offset,
})

Sends an inline query to a bot and returns its results. Returns an error with code 502 if the bot fails to answer the query before the query timeout expires

Implementation

const GetInlineQueryResults({
  required this.botUserId,
  required this.chatId,
  this.userLocation,
  required this.query,
  required this.offset,
});