AnswerInlineQuery class



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


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


getConstructor() String
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
toJson() Map<String, dynamic>
toString() String
Returns a string representation of this object.


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


CONSTRUCTOR → const String