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

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

Chunk of a livestream

Constructors

new
InputGroupCallStream_(params: { call: enums.InputGroupCall; time_ms: bigint; scale: number; video_channel?: number; video_quality?: number; })

Properties

protected
readonly
[id]: number
protected
readonly
[params]: Params
call: enums.InputGroupCall

Livestream info

scale: number

Specifies the duration of the video segment to fetch in milliseconds, by bitshifting 1000 to the right scale times: duration_ms := 1000 >> scale

time_ms: bigint

Timestamp in milliseconds

optional
video_channel: number

Selected video channel

optional
video_quality: number

Selected video quality (0 = lowest, 1 = medium, 2 = best)

Static Properties

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