messages.SendInlineBotResult

class pyrogram.raw.functions.messages.SendInlineBotResult

Send a result obtained using messages.getInlineBotResults.

Details:
  • Layer: 187

  • ID: 3EBEE86A

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 (InputReplyTo, optional) – If set, indicates that the message should be sent in reply to the specified message or story.

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

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

  • quick_reply_shortcut (InputQuickReplyShortcut, optional)

Returns:

Updates