DocumentAttributeVideo#
- class pyrogram.raw.types.DocumentAttributeVideo#
Defines a video
Constructor of
DocumentAttribute
.- Details:
Layer:
198
ID:
43C57C48
- Parameters:
duration (
float
64-bit
) – Duration in secondsw (
int
32-bit
) – Video widthh (
int
32-bit
) – Video heightround_message (
bool
, optional) – Whether this is a round videosupports_streaming (
bool
, optional) – Whether the video supports streamingnosound (
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) – Floating point UNIX timestamp in seconds, indicating the frame of the video that should be used as static preview and thumbnail.video_codec (
str
, optional) – Codec used for the video, i.e. “h264”, “h265”, or “av1”