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

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

WebRTC connection parameters

Constructors

new
PhoneConnectionWebrtc_(params: { turn?: true; stun?: true; id: bigint; ip: string; ipv6: string; port: number; username: string; password: string; })

Properties

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

Endpoint ID

ip: string

IP address

ipv6: string

IPv6 address

password: string

Password

port: number

Port

optional
stun: true

Whether this is a STUN endpoint

optional
turn: true

Whether this is a TURN endpoint

username: string

Username

Static Properties

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