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

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

Info about a group call participant

Constructors

new
GroupCallParticipant_(params: { muted?: true; left?: true; can_self_unmute?: true; just_joined?: true; versioned?: true; min?: true; muted_by_you?: true; volume_by_admin?: true; self?: true; video_joined?: true; peer: enums.Peer; date: number; active_date?: number; source: number; volume?: number; about?: string; raise_hand_rating?: bigint; video?: enums.GroupCallParticipantVideo; presentation?: enums.GroupCallParticipantVideo; })

Properties

protected
readonly
[id]: number
protected
readonly
[params]: Params
optional
about: string

Info about this participant

optional
active_date: number

When was this participant last active in the group call

optional
can_self_unmute: true

Whether the participant can unmute themselves

date: number

When did this participant join the group call

optional
just_joined: true

Whether the participant has just joined

optional
left: true

Whether the participant has left

optional
min: true

If not set, the volume and muted_by_you fields can be safely used to overwrite locally cached information; otherwise, volume will contain valid information only if volume_by_admin is set both in the cache and in the received constructor.

optional
muted: true

Whether the participant is muted

optional
muted_by_you: true

Whether this participant was muted by the current user

peer: enums.Peer

Peer information

optional
presentation: enums.GroupCallParticipantVideo

Info about the screen sharing stream the participant is currently broadcasting

optional
raise_hand_rating: bigint

Specifies the UI visualization order of peers with raised hands: peers with a higher rating should be showed first in the list.

optional
self: true

Whether this participant is the current user

source: number

Source ID

optional
versioned: true

If set, and updateGroupCallParticipants.version < locally stored call.version, info about this participant should be ignored. If (...), and updateGroupCallParticipants.version > call.version+1, the participant list should be refetched using phone.getGroupParticipants.

optional
video: enums.GroupCallParticipantVideo

Info about the video stream the participant is currently broadcasting

optional
video_joined: true

Whether this participant is currently broadcasting video

optional
volume: number

Volume, if not set the volume is set to 100%.

optional
volume_by_admin: true

Whether our volume can only changed by an admin

Static Properties

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