Raw.PhoneConnection

Raw.PhoneConnection

Identifies an endpoint that can be used to connect to the other user in a phone call

phoneConnection#9cc123c7 flags:# tcp:flags.0?true id:long ip:string ipv6:string port:int peer_tag:bytes = PhoneConnection;
export namespace Raw {
  export class PhoneConnection {
    constructor(params: {
      tcp?: boolean;
      id: bigint;
      ip: string;
      ipv6: string;
      port: number;
      peerTag: Buffer;
    }) {}
  }
}
🚫

This is a types constructor, you can’t use it as method when call invoke.

Layer: 185
Constructor ID: 0x9cc123c7

Property