Layer 220
constructor
nearestDc#8e1a1775 country:string this_dc:int nearest_dc:int = NearestDc;

Parameters

Name Type Description
Country string Country code determined by geo-ip
ThisDc int Number of current data center
NearestDc int Number of nearest data center

Returns

NearestDc

Gogram Example

// Creating NearestDc constructor
obj := &tg.NearestDc{
    Country: "...",
    ThisDc: 0,
    NearestDc: 0,
}