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_discardCall_

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

Refuse or end running call

Constructors

new
phone_discardCall_(params: { video?: true; peer: enums.InputPhoneCall; duration: number; reason: enums.PhoneCallDiscardReason; connection_id: bigint; })

Properties

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

Preferred libtgvoip relay ID

duration: number

Call duration

peer: enums.InputPhoneCall

The phone call

reason: enums.PhoneCallDiscardReason

Why was the call discarded

optional
video: true

Whether this is a video call

Static Properties

__F: (params: { video?: true; peer: enums.InputPhoneCall; duration: number; reason: enums.PhoneCallDiscardReason; connection_id: bigint; }) => enums.Updates
readonly
[name]: string
readonly
[paramDesc]: ParamDesc