BotInlineMediaResult

class pyrogram.raw.types.BotInlineMediaResult

Media result.

Constructor type of BotInlineResult.

Details
  • Layer: 126

  • ID: 0x17db940b

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.