documentAttributeVideo

Defines a video

documentAttributeVideo#ef02ce6 flags:# round_message:flags.0?true supports_streaming:flags.1?true duration:int w:int h:int = DocumentAttribute;

Parameters

Name Type Description
flags # Flags, see TL conditional fields
round_message flags.0?true Whether this is a round video
supports_streaming flags.1?true Whether the video supports streaming
nosound flags.3?true Whether the specified document is a video file with no audio tracks (a GIF animation (even as MPEG4), for example)
duration double Duration in seconds
w int Video width
h int Video height
preload_prefix_size flags.2?int Number of bytes to preload when preloading videos (particularly video stories).

Type

DocumentAttribute

Related pages

Stories

Telegram users and channels can easily post and view stories through the API.