TDLib v0.0.2 TDLib.Method.SendInlineQueryResultMessage View Source

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

NameTypeDescription
chat_idstringTarget chat.
reply_to_message_idstringIdentifier of a message to reply to or 0.
disable_notificationboolPass true to disable notification for the message. Not supported in secret chats.
from_backgroundboolPass true if the message is sent from background.
query_idstringIdentifier of the inline query.
result_idstringIdentifier of the inline result.

More details on telegram’s documentation.