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>VideoSize_

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

An animated profile picture in MPEG4 format

Constructors

new
VideoSize_(params: { type: string; w: number; h: number; size: number; video_start_ts?: number; })

Properties

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

Video height

size: number

File size

type: string

u for animated profile pictures, and v for trimmed and downscaled video previews

optional
video_start_ts: number

Timestamp that should be shown as static preview to the user (seconds)

w: number

Video width

Static Properties

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