SendInlineQueryResultMessage class



SendInlineQueryResultMessage({int chatId, int replyToMessageId, bool disableNotification, bool fromBackground, int queryId, String resultId, bool hideViaBot})
Sends the result of an inline query as a message. Returns the sent message. Always clears a chat draft message. chatId Target chat . replyToMessageId Identifier of a message to reply to or 0. disableNotification Pass true to disable notification for the message. Not supported in secret chats . fromBackground Pass true if the message is sent from background. queryId Identifier of the inline query . resultId Identifier of the inline result. hideViaBot If true, there will be no mention of a bot, via which the message is sent. Can be used only for bots GetOption("animation_search_bot_username"), GetOption("photo_search_bot_username") and GetOption("venue_search_bot_username")
SendInlineQueryResultMessage.fromJson(Map<String, dynamic> json)
Parse from a json


chatId int
read / write
constructor String
read / write, inherited
disableNotification bool
read / write
extra ↔ dynamic
read / write
fromBackground bool
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
hideViaBot bool
read / write
queryId int
read / write
replyToMessageId int
read / write
resultId String
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited


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