InlineQueryResults class

Inheritance

Constructors

InlineQueryResults({int inlineQueryId, String nextOffset, List<InlineQueryResult> results, String switchPmText, String switchPmParameter})
Represents the results of the inline query. Use sendInlineQueryResultMessage to send the result of the query
InlineQueryResults.fromJson(Map<String, dynamic> json)
Parse from a json

Properties

extra ↔ dynamic
callback sign
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
inlineQueryId int
inlineQueryId Unique identifier of the inline query
read / write
nextOffset String
nextOffset The offset for the next request. If empty, there are no more results
read / write
results List<InlineQueryResult>
results Results of the query
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
switchPmParameter String
switchPmParameter Parameter for the bot start message
read / write
switchPmText String
switchPmText If non-empty, this text should 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
read / write

Methods

getConstructor() String
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() 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
'inlineQueryResults'