NearestDc

class pyrogram.raw.base.NearestDc

Object contains info on nearest data center.

Constructors:

This base type has 1 constructor available.

NearestDc

Nearest data center, according to geo-ip.

Functions:

This object can be returned by 1 function.

help.GetNearestDc

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
├── countrystring
├── this_dcint
└── nearest_dcint

Example

NearestDc(
    country="text",
    this_dc=0,
    nearest_dc=0,
)