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

x/mtkruto/client/5_client.ts>Client#downloadLiveStreamChunk

Cross-runtime JavaScript library for building Telegram clients
Latest
method Client.prototype.downloadLiveStreamChunk
import { Client } from "https://deno.land/x/mtkruto@0.2.24/client/5_client.ts";

Download a live stream chunk. User-only.

Parameters

id: string

The identifier of a video chat retrieved from getChat, startVideoChat, or scheduleVideoChat.

channelId: number

Stream channel ID.

scale: number

Stream channel scale.

timestamp: number

Millisecond timestamp of the chunk to download.

Returns

AsyncGenerator<Uint8Array, void, unknown>