send_inline_query_result_message


Description:

public async Message send_inline_query_result_message (int64 chat_id, int64 message_thread_id, InputMessageReplyTo reply_to, MessageSendOptions options, int64 query_id, string result_id, bool hide_via_bot) throws TDLibError

Sends the result of an inline query as a message. Returns the sent message. Always clears a chat draft message

Parameters:

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")