Raw.NearestDc

Raw.NearestDc

Nearest data center, according to geo-ip.

nearestDc#8e1a1775 country:string this_dc:int nearest_dc:int = NearestDc;
export namespace Raw {
  export class NearestDc {
    constructor(params: { country: string; thisDc: number; nearestDc: number }) {}
  }
}
🚫

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

Layer: 185
Constructor ID: 0x8e1a1775

Property

  • country : string

    Country code determined by geo-ip

  • thisDc : number

    Number of current data center

  • nearestDc : number

    Number of nearest data center