MessageMediaDocument

class pyrogram.raw.types.MessageMediaDocument

Telegram API type.

Constructor of MessageMedia.

Details:
  • Layer: 194

  • ID: DD570BD5

Parameters:
  • nopremium (bool, optional) – N/A

  • spoiler (bool, optional) – N/A

  • video (bool, optional) – N/A

  • round (bool, optional) – N/A

  • voice (bool, optional) – N/A

  • document (Document, optional) – N/A

  • alt_documents (List of Document, optional) – N/A

  • ttl_seconds (int 32-bit, optional) – N/A

Functions:

This object can be returned by 3 functions.

messages.GetWebPagePreview

Telegram API function.

messages.UploadMedia

Telegram API function.

messages.UploadImportedMedia

Telegram API function.