AnswerInlineQuery class
Sets the result of an inline query; for bots only.
Returns Ok.
- Inheritance
- Available Extensions
Constructors
-
AnswerInlineQuery({required int64 inline_query_id, required bool is_personal, InlineQueryResultsButton? button, required List<
InputInlineQueryResult> results, required int cache_time, required String next_offset, int? extra, int? clientId}) - Sets the result of an inline query; for bots only
Properties
-
Button to be shown above inline query results; pass null if none.
read / write
- cache_time ↔ int
-
Allowed time to cache the results of the query, in seconds.
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
-
Identifier of the inline query.
; string representation of int, use
int.parse
read / write - is_personal ↔ bool
-
Pass true if results may be cached and returned only for the user that sent the query. By default, results may be returned to any user who sends the same query.
read / write
- next_offset ↔ String
-
Offset for the next inline query; pass an empty string if there are no more results.
read / write
-
results
↔ List<
InputInlineQueryResult> -
The 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) → AnswerInlineQuery? -
Construct from Map.
override
Constants
- CONSTRUCTOR → const String
-
@type
"answerInlineQuery"