Skip to content

sendInlineQueryResultMessage

Sahri Riza Umami edited this page Sep 17, 2017 · 3 revisions

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

sendInlineQueryResultMessage(chat_id, reply_to_message_id, disable_notification, from_background, query_id, result_id)
Field Type Description
chat_id int53 Chat to send message
reply_to_message_id int53 Identifier of a message to reply to or 0
disable_notification Bool Pass true, to disable notification about the message, doesn't works in secret chats
from_background Bool Pass true, if the message is sent from background
query_id int64 Identifier of the inline query
result_id string Identifier of the inline result

Frequently Asked Questions
The Functions

Clone this wiki locally