InlineQueryResults class

Inheritance

Constructors

InlineQueryResults({required int inlineQueryId, required String nextOffset, required List<InlineQueryResult> results, required String switchPmText, required String switchPmParameter, 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

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
switchPmParameter String
switchPmParameter Parameter for the bot start message
final
switchPmText String
switchPmText If non-empty, this text must be shown on the button, which opens a private chat with the bot and sends the bot a start message with the switch_pm_parameter
final

Methods

copyWith({int? inlineQueryId, String? nextOffset, List<InlineQueryResult>? results, String? switchPmText, String? switchPmParameter, 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