InlineQueryResults class

Implemented types

Constructors

InlineQueryResults({int inlineQueryId, String nextOffset, List results, String switchPmText, String switchPmParameter})
Represents the results of the inline query. Use sendInlineQueryResultMessage to send the result of the query. inlineQueryId Unique identifier of the inline query . nextOffset The offset for the next request. If empty, there are no more results . results Results of the query. 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 . switchPmParameter Parameter for the bot start message
InlineQueryResults.fromJson(Map<String, dynamic> json)
Parse from a json

Properties

extra ↔ dynamic
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
inlineQueryId int
read / write
nextOffset String
read / write
results List
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
switchPmParameter String
read / write
switchPmText String
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
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) bool
The equality operator. [...]
inherited

Constants

CONSTRUCTOR → const String
"inlineQueryResults"