InlineQueryResults class
Represents the results of the inline query. Use sendInlineQueryResultMessage to send the result of the query.
- Inheritance
- Available Extensions
Constructors
-
InlineQueryResults({required int64 inline_query_id, InlineQueryResultsButton? button, required List<
InlineQueryResult> results, String? next_offset, int? extra, int? clientId}) - Represents the results of the inline query. Use sendInlineQueryResultMessage to send the result of the query
Properties
-
Button to be shown above inline query results; may be null.
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
- inline_query_id ↔ int64
-
Unique identifier of the inline query.
; string representation of int, use
int.parse
read / write - next_offset ↔ String?
-
The offset for the next request. If empty, there are no more results.
read / write
-
results
↔ List<
InlineQueryResult> -
Results of the query.
read / write
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
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) → InlineQueryResults? -
Construct from Map.
override
Constants
- CONSTRUCTOR → const String
-
@type
"inlineQueryResults"