View Source ExTDLib.Method.SendInlineQueryResultMessage (ExTDLib v0.0.4)
Sends the result of an inline query as a message. Returns the sent message. Always clears a chat draft message. Returns object_ptr<Message>.
| Name | Type | Description |
|---|---|---|
| chat_id | string | Target chat. |
| message_thread_id | string | If not 0, a message thread identifier in which the message will be sent. |
| reply_to | InputMessageReplyTo | Information about the message or story to be replied; pass null if none. |
| options | messageSendOptions | Options to be used to send the message; pass null to use default options. |
| query_id | string | Identifier of the inline query. |
| result_id | string | Identifier of the inline query result. |
| 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"). |
More details on telegram's documentation.