MadelineProtoDocs/docs/TD_docs/methods/sendInlineQueryResultMessage.md

1.2 KiB

title description image
sendInlineQueryResultMessage Sends result of the inline query as a message. Returns sent message. Always clears chat draft message https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Method: sendInlineQueryResultMessage

Back to methods index

YOU CANNOT USE THIS METHOD IN MADELINEPROTO

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

Parameters:

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

Return type: Message