Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/grm/src/tl/mod.ts>Api.PhoneConnection

MTProto API Client for Deno 🦕
Go to Latest
class Api.PhoneConnection
extends VirtualClass<{ tcp?: boolean; id: long; ip: string; ipv6: string; port: int; peerTag: bytes; }>
import { Api } from "https://deno.land/x/grm@0.5.1/src/tl/mod.ts";
const { PhoneConnection } = Api;

Properties

className: "PhoneConnection"
classType: "constructor"
CONSTRUCTOR_ID: 2629903303
id: long
ip: string
ipv6: string
peerTag: bytes
port: int
SUBCLASS_OF_ID: 2861425677
optional
tcp: boolean

Static Methods

fromReader(reader: Reader): PhoneConnection