InlineQueryResults class
Constructors
-
InlineQueryResults({required int inlineQueryId, InlineQueryResultsButton? button, required List<
InlineQueryResult> results, required String nextOffset, dynamic extra, int? clientId}) -
Represents the results of the inline query. Use sendInlineQueryResultMessage to send the result of the query
const
-
InlineQueryResults.fromJson(Map<
String, dynamic> json) -
Parse from a json
factory
Properties
-
button Button to be shown above inline query results; may be null
final
- clientId → int?
-
clientId client identifier
final
- extra → dynamic
-
extra callback sign
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- inlineQueryId → int
-
inlineQueryId Unique identifier of the inline query
final
- nextOffset → String
-
nextOffset The offset for the next request. If empty, there are no more results
final
-
results
→ List<
InlineQueryResult> -
results Results of the query
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
copyWith(
{int? inlineQueryId, InlineQueryResultsButton? button, List< InlineQueryResult> ? results, String? nextOffset, dynamic extra, int? clientId}) → InlineQueryResults -
getConstructor(
) → String -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
[dynamic extra]) → Map< String, dynamic> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- CONSTRUCTOR → const String