AnswerInlineQuery class



AnswerInlineQuery({int inlineQueryId, bool isPersonal, List<InputInlineQueryResult> results, int cacheTime, String nextOffset, String switchPmText, String switchPmParameter})
Sets the result of an inline query; for bots only
AnswerInlineQuery.fromJson(Map<String, dynamic> json)
Parse from a json


cacheTime int
cacheTime Allowed time to cache the results of the query, in seconds
read / write
extra ↔ dynamic
callback sign
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
inlineQueryId int
inlineQueryId Identifier of the inline query
read / write
isPersonal bool
isPersonal True, if the result of the query can be cached for the specified user
read / write
nextOffset String
nextOffset Offset for the next inline query; pass an empty string if there are no more results
read / write
results List<InputInlineQueryResult>
results The results of the query
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
switchPmParameter String
switchPmParameter The parameter for the bot start message
read / write
switchPmText String
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
read / write


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


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


CONSTRUCTOR → const String