Constructor: documentAttributeVideo
Defines a video
Attributes:
Name | Type | Required | Description |
---|---|---|---|
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) |
duration | double | Optional | Duration in seconds |
w | int | Optional | Video width |
h | int | Optional | Video height |
preload_prefix_size | int | Optional | Number of bytes to preload when preloading videos (particularly video stories). |
video_start_ts | double | Optional | |
video_codec | string | Optional |
Type: DocumentAttribute
Example:
$documentAttributeVideo = ['_' => 'documentAttributeVideo', 'round_message' => Bool, 'supports_streaming' => Bool, 'nosound' => Bool, 'duration' => double, 'w' => int, 'h' => int, 'preload_prefix_size' => int, 'video_start_ts' => double, 'video_codec' => 'string'];