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

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

A phone call

Constructors

new
MessageActionPhoneCall_(params: { video?: true; call_id: bigint; reason?: enums.PhoneCallDiscardReason; duration?: number; })

Properties

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

Call ID

optional
duration: number

Duration of the call in seconds

optional
reason: enums.PhoneCallDiscardReason

If the call has ended, the reason why it ended

optional
video: true

Is this a video call?

Static Properties

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