NearestDc
- class pyrogram.raw.types.NearestDc
Nearest data center, according to geo-ip.
Constructor of
NearestDc.- Details:
Layer:
223ID:
8E1A1775
- Parameters:
country (
str) – Country code determined by geo-ipthis_dc (
int32-bit) – Number of current data centernearest_dc (
int32-bit) – Number of nearest data center
- Functions:
This object can be returned by 1 function.
Returns info on data center nearest to the user.
TL Schema
nearestDc#8e1a1775
country:string
this_dc:int
nearest_dc:int
= NearestDc
Parameter Tree
NearestDc
├── country →
string├── this_dc →
int└── nearest_dc →
intExample
NearestDc(
country="text",
this_dc=0,
nearest_dc=0,
)