DocumentAttributeVideo

class pyrogram.raw.types.DocumentAttributeVideo

Defines a video

Constructor of DocumentAttribute.

Details:
  • Layer: 194

  • ID: 43C57C48

Parameters:
  • duration (float 64-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

  • nosound (bool, optional) – Whether the specified document is a video file with no audio tracks (a GIF animation (even as MPEG4), for example)

  • preload_prefix_size (int 32-bit, optional) – Number of bytes to preload when preloading videos (particularly video stories).

  • video_start_ts (float 64-bit, optional) – N/A

  • video_codec (str, optional) – N/A