messages.SendInlineBotResult#

class pyrogram.raw.functions.messages.SendInlineBotResult#

Send a result obtained using messages.getInlineBotResults.

Details:
  • Layer: 158

  • ID: D3FBDCCB

Parameters:
  • peer (InputPeer) – Destination.

  • random_id (int 64-bit) – Random ID to avoid resending the same query.

  • query_id (int 64-bit) – Query ID from messages.getInlineBotResults.

  • id (str) – Result ID from messages.getInlineBotResults.

  • silent (bool, optional) – Whether to send the message silently (no notification will be triggered on the other client).

  • background (bool, optional) – Whether to send the message in background.

  • clear_draft (bool, optional) – Whether to clear the draft.

  • hide_via (bool, optional) – Whether to hide the via @botname in the resulting message (only for bot usernames encountered in the config).

  • reply_to_msg_id (int 32-bit, optional) – N/A

  • top_msg_id (int 32-bit, optional) – N/A

  • schedule_date (int 32-bit, optional) – Scheduled message date for scheduled messages.

  • send_as (InputPeer, optional) – Send this message as the specified peer.

Returns:

Updates