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

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

Indicates a discarded phone call

Constructors

new
PhoneCallDiscarded_(params: { need_rating?: true; need_debug?: true; video?: true; id: bigint; reason?: enums.PhoneCallDiscardReason; duration?: number; })

Properties

protected
readonly
[id]: number
protected
readonly
[params]: Params
optional
duration: number

Duration of the phone call in seconds

id: bigint

Call ID

optional
need_debug: true

Whether the server required the client to send the libtgvoip call debug data

optional
need_rating: true

Whether the server required the user to rate the call

optional
reason: enums.PhoneCallDiscardReason

Why was the phone call discarded

optional
video: true

Whether the call was a video call

Static Properties

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