Sends the result of an inline query as a message. Returns the sent message. Always clears a chat draft message
| chat_id |
Target chat |
| message_thread_id |
If not 0, the message thread identifier in which the message will be sent |
| reply_to |
Information about the message or story to be replied; pass null if none |
| options |
Options to be used to send the message; pass null to use default options |
| query_id |
Identifier of the inline query |
| result_id |
Identifier of the inline query result |
| hide_via_bot |
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") |