InputBotInlineResultDocument

class pyrogram.raw.types.InputBotInlineResultDocument

Document (media of any type except for photos)

Constructor of InputBotInlineResult.

Details:
  • Layer: 194

  • ID: FFF8FDC4

Parameters:
  • id (str) – Result ID

  • type (str) – Result type (see bot API docs)

  • document (InputDocument) – Document to send

  • send_message (InputBotInlineMessage) – Message to send when the result is selected

  • title (str, optional) – Result title

  • description (str, optional) – Result description