BotInlineMediaResult

class pyrogram.raw.types.BotInlineMediaResult

Media result

Constructor of BotInlineResult.

Details:
  • Layer: 187

  • ID: 17DB940B

Parameters:
  • id (str) – Result ID

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

  • send_message (BotInlineMessage) – Depending on the type and on the constructor, contains the caption of the media or the content of the message to be sent instead of the media

  • photo (Photo, optional) – If type is photo, the photo to send

  • document (Document, optional) – If type is document, the document to send

  • title (str, optional) – Result title

  • description (str, optional) – Description