GetInlineQueryResults class

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.

Returns InlineQueryResults.

Inheritance
Available Extensions

Constructors

GetInlineQueryResults({required int bot_user_id, required int chat_id, Location? user_location, required String query, required String offset, int? extra, int? clientId})
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

Properties

bot_user_id int
Identifier of the target bot.
read / write
chat_id int
Identifier of the chat where the query was sent.
read / write
clientId int?
TDLib client instance identifier, for which the response was received.
read / writeoverride
extra int?
Request identifier. Must be non-zero.
read / writeoverride
hashCode int
The hash code for this object.
read-onlyinherited
offset String
Offset of the first entry to return; use empty string to get the first chunk of results.
read / write
query String
Text of the query.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
user_location Location?
Location of the user; pass null if unknown or the bot doesn't need user's location.
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Object to Map serializer
override
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

fromMap(Map<String, dynamic>? _map) GetInlineQueryResults?
Construct from Map.
override

Constants

CONSTRUCTOR → const String
@type
"getInlineQueryResults"