ChosenInlineResult class
Represents a result of an inline query that was chosen by the user and sent to their chat partner.
Note: It is necessary to enable inline feedback via @Botfather in order to receive these objects in updates.
- Annotations
-
- @JsonSerializable(fieldRename: FieldRename.snake)
Constructors
- ChosenInlineResult({required String resultId, required User from, Location? location, String? inlineMessageId, required String query})
-
ChosenInlineResult.fromJson(Map<
String, dynamic> json) -
factory
Properties
- from ↔ User
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- inlineMessageId ↔ String?
-
getter/setter pair
- location ↔ Location?
-
getter/setter pair
- query ↔ String
-
getter/setter pair
- resultId ↔ String
-
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