DocumentAttributeVideo

class pyrogram.raw.types.DocumentAttributeVideo

Defines a video.

Constructor type of DocumentAttribute.

Details
  • Layer: 126

  • ID: 0xef02ce6

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.