# Constructor: documentAttributeVideo

Back to constructors index

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
duration int Optional Duration in seconds
w int Optional Video width
h int Optional Video height

# Type: DocumentAttribute

# Example:

$documentAttributeVideo = ['_' => 'documentAttributeVideo', 'round_message' => Bool, 'supports_streaming' => Bool, 'duration' => int, 'w' => int, 'h' => int];

Or, if you’re into Lua:

documentAttributeVideo={_='documentAttributeVideo', round_message=Bool, supports_streaming=Bool, duration=int, w=int, h=int}

This site uses cookies, as described in the cookie policy. By clicking on "Accept" you consent to the use of cookies.