Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/mtkruto/tl/3_functions.ts>phone_requestCall_

Cross-runtime JavaScript library for building Telegram clients
Go to Latest
class phone_requestCall_
extends Function_<enums.phone.PhoneCall>
import { phone_requestCall_ } from "https://deno.land/x/mtkruto@0.1.190/tl/3_functions.ts";

Start a telegram phone call

Constructors

new
phone_requestCall_(params: { video?: true; user_id: enums.InputUser; random_id: number; g_a_hash: Uint8Array; protocol: enums.PhoneCallProtocol; })

Properties

protected
readonly
[id]: number
protected
readonly
[params]: Params
protocol: enums.PhoneCallProtocol

Phone call settings

random_id: number

Random ID to avoid resending the same object

user_id: enums.InputUser

Destination of the phone call

optional
video: true

Whether to start a video call

Static Properties

__F: (params: { video?: true; user_id: enums.InputUser; random_id: number; g_a_hash: Uint8Array; protocol: enums.PhoneCallProtocol; }) => enums.phone.PhoneCall
readonly
[name]: string
readonly
[paramDesc]: ParamDesc