Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/mtkruto/tl/2_types.ts>DocumentAttributeVideo_

Cross-runtime JavaScript library for building Telegram clients
Go to Latest
class DocumentAttributeVideo_
import { DocumentAttributeVideo_ } from "https://deno.land/x/mtkruto@0.1.190/tl/2_types.ts";

Defines a video

Constructors

new
DocumentAttributeVideo_(params: { round_message?: true; supports_streaming?: true; nosound?: true; duration: number; w: number; h: number; preload_prefix_size?: number; })

Properties

protected
readonly
[id]: number
protected
readonly
[params]: Params
duration: number

Duration in seconds

h: number

Video height

optional
nosound: true

Whether the specified document is a video file with no audio tracks (a GIF animation (even as MPEG4), for example)

optional
preload_prefix_size: number

Number of bytes to preload when preloading videos (particularly video stories).

optional
round_message: true

Whether this is a round video

optional
supports_streaming: true

Whether the video supports streaming

w: number

Video width

Static Properties

readonly
[name]: string
readonly
[paramDesc]: ParamDesc