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

x/mtkruto/client/3_video_chat_manager.ts>VideoChatManager

Cross-runtime JavaScript library for building Telegram clients
Latest
class VideoChatManager
import { VideoChatManager } from "https://deno.land/x/mtkruto@0.6.3/client/3_video_chat_manager.ts";

Constructors

new
VideoChatManager(c: C)

Methods

downloadLiveStreamChunk(
id: string,
channel: number,
scale: number,
timestamp: number,
)
getVideoChat(id: string)
handleUpdate(update: VideoChatManagerUpdate): Promise<Update>
joinLiveStream(id: string)
joinVideoChat(
id: string,
params: string,
)
leaveVideoChat(id: string)
scheduleVideoChat(
chatId: ID,
startAt: Date,
)

Static Methods

canHandleUpdate(update: Api.Update): update is VideoChatManagerUpdate