Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/mtkruto/mod.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.6.3/mod.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.

optional
params: DownloadLiveStreamChunkParams

Returns

AsyncGenerator<Uint8Array, void, unknown>