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

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

Info about a group call or livestream

Constructors

new
GroupCall_(params: { join_muted?: true; can_change_join_muted?: true; join_date_asc?: true; schedule_start_subscribed?: true; can_start_video?: true; record_video_active?: true; rtmp_stream?: true; listeners_hidden?: true; id: bigint; access_hash: bigint; participants_count: number; title?: string; stream_dc_id?: number; record_start_date?: number; schedule_date?: number; unmuted_video_count?: number; unmuted_video_limit: number; version: number; })

Properties

protected
readonly
[id]: number
protected
readonly
[params]: Params
access_hash: bigint

Group call access hash

optional
can_change_join_muted: true

Whether the current user can change the value of the join_muted flag using phone.toggleGroupCallSettings

optional
can_start_video: true

Whether you can start streaming video into the call

id: bigint

Group call ID

optional
join_date_asc: true

Specifies the ordering to use when locally sorting by date and displaying in the UI group call participants.

optional
join_muted: true

Whether the user should be muted upon joining the call

optional
listeners_hidden: true

Whether the listeners list is hidden and cannot be fetched using phone.getGroupParticipants. The phone.groupParticipants.count and groupCall.participants_count counters will still include listeners.

participants_count: number

Participant count

optional
record_start_date: number

When was the recording started

optional
record_video_active: true

Whether the group call is currently being recorded

optional
rtmp_stream: true

Whether RTMP streams are allowed

optional
schedule_date: number

When is the call scheduled to start

optional
schedule_start_subscribed: true

Whether we subscribed to the scheduled call

optional
stream_dc_id: number

DC ID to be used for livestream chunks

optional
title: string

Group call title

optional
unmuted_video_count: number

Number of people currently streaming video into the call

unmuted_video_limit: number

Maximum number of people allowed to stream video into the call

version: number

Version

Static Properties

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