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

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

Phone call

Constructors

new
PhoneCall_(params: { p2p_allowed?: true; video?: true; id: bigint; access_hash: bigint; date: number; admin_id: bigint; participant_id: bigint; g_a_or_b: Uint8Array; key_fingerprint: bigint; protocol: enums.PhoneCallProtocol; connections: Array<enums.PhoneConnection>; start_date: number; })

Properties

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

Access hash

admin_id: bigint

User ID of the creator of the call

connections: Array<enums.PhoneConnection>

List of endpoints the user can connect to to exchange call data

date: number

Date of creation of the call

g_a_or_b: Uint8Array
id: bigint

Call ID

key_fingerprint: bigint
optional
p2p_allowed: true

Whether P2P connection to the other peer is allowed

participant_id: bigint

User ID of the other participant in the call

protocol: enums.PhoneCallProtocol

Call protocol info to be passed to libtgvoip

start_date: number

When was the call actually started

optional
video: true

Whether this is a video call

Static Properties

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