AnswerInlineQuery class

Inheritance

Constructors

AnswerInlineQuery({int inlineQueryId, bool isPersonal, List results, int cacheTime, String nextOffset, String switchPmText, String switchPmParameter})
Sets the result of an inline query; for bots only. inlineQueryId Identifier of the inline query . isPersonal True, if the result of the query can be cached for the specified user. results The results of the query . cacheTime Allowed time to cache the results of the query, in seconds . nextOffset Offset for the next inline query; pass an empty string if there are no more results. switchPmText If non-empty, this text should be shown on the button that opens a private chat with the bot and sends a start message to the bot with the parameter switch_pm_parameter . switchPmParameter The parameter for the bot start message
AnswerInlineQuery.fromJson(Map<String, dynamic> json)
Parse from a json

Properties

cacheTime int
read / write
constructor String
read / write, inherited
extra ↔ dynamic
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
inlineQueryId int
read / write
isPersonal bool
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
"answerInlineQuery"