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

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

Info about an RTMP stream in a group call or livestream

Constructors

new
GroupCallStreamChannel_(params: { channel: number; scale: number; last_timestamp_ms: bigint; })

Properties

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

Channel ID

last_timestamp_ms: bigint

Last seen timestamp to easily start fetching livestream chunks using inputGroupCallStream

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.

Static Properties

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