DocumentAttributeVideo#

class pyrogram.raw.types.DocumentAttributeVideo#

Defines a video.

Constructor of DocumentAttribute.

Details:
  • Layer: 158

  • ID: EF02CE6

Parameters:
  • duration (int 32-bit) – Duration in seconds.

  • w (int 32-bit) – Video width.

  • h (int 32-bit) – Video height.

  • round_message (bool, optional) – Whether this is a round video.

  • supports_streaming (bool, optional) – Whether the video supports streaming.