DocumentAttributeVideo#
- class pyrogram.raw.types.DocumentAttributeVideo#
Defines a video
Constructor of
DocumentAttribute.- Details:
Layer:
214ID:
43C57C48
- Parameters:
duration (
float64-bit) – Duration in secondsw (
int32-bit) – Video widthh (
int32-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 trackspreload_prefix_size (
int32-bit, optional) – Number of bytes to preload when preloading videos (particularly video stories).video_start_ts (
float64-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”