InputBotInlineResultDocument

class pyrogram.raw.types.InputBotInlineResultDocument

Document (media of any type except for photos).

Constructor type of InputBotInlineResult.

Details
  • Layer: 126

  • ID: 0xfff8fdc4

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.