SendInlineQueryResultMessage class
Sends the result of an inline query as a message. Returns the sent message. Always clears a chat draft message.
Returns Message.
- Inheritance
- Available Extensions
Constructors
- SendInlineQueryResultMessage({required int chat_id, required int message_thread_id, MessageReplyTo? reply_to, MessageSendOptions? options, required int64 query_id, required String result_id, required bool hide_via_bot, int? extra, int? clientId})
- Sends the result of an inline query as a message. Returns the sent message. Always clears a chat draft message
Properties
- chat_id ↔ int
-
Target chat.
read / write
- clientId ↔ int?
-
TDLib client instance identifier, for which the response was received.
read / writeoverride
- extra ↔ int?
-
Request identifier. Must be non-zero.
read / writeoverride
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- hide_via_bot ↔ bool
-
Pass true to hide the 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").
read / write
- message_thread_id ↔ int
-
If not 0, a message thread identifier in which the message will be sent.
read / write
- options ↔ MessageSendOptions?
-
Options to be used to send the message; pass null to use default options.
read / write
- query_id ↔ int64
-
Identifier of the inline query.
; string representation of int, use
int.parse
read / write - reply_to ↔ MessageReplyTo?
-
Identifier of the replied message or story; pass null if none.
read / write
- result_id ↔ String
-
Identifier of the inline query result.
read / write
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Object to Map serializer
override
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromMap(
Map< String, dynamic> ? _map) → SendInlineQueryResultMessage? -
Construct from Map.
override
Constants
- CONSTRUCTOR → const String
-
@type
"sendInlineQueryResultMessage"