InlineQuery class
This object represents an incoming inline query. When the user sends an empty query, your bot could return some default or trending results.
- Annotations
-
- @JsonSerializable.new(includeIfNull: false)
Constructors
- InlineQuery({String? id, User? from, Location? location, String? query, String? offset})
-
InlineQuery.fromJson(Map<
String, dynamic> json) -
factory
Properties
- from ↔ User?
-
Sender.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- id ↔ String?
-
Unique identifier for this query.
getter/setter pair
- location ↔ Location?
-
Optional. Sender location,
only for bots that request user location.
getter/setter pair
- offset ↔ String?
-
Offset of the results to be returned,
can be controlled by the bot.
getter/setter pair
- query ↔ String?
-
Optional. Sender location,
only for bots that request user location.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited