sendInlineQueryResultMessage¶
Sends the result of an inline query as a message. Returns the sent message. Always clears a chat draft message
sendInlineQueryResultMessage(
chat_id: int53,
topic_id: MessageTopic,
reply_to: InputMessageReplyTo,
options: MessageSendOptions,
query_id: int64,
result_id: string,
hide_via_bot: Bool
) → Message
chat_id¶
int53
Target chat
topic_id¶
Topic in which the message will be sent; pass null if none
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¶
int64
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")