NearestDc#

class pyrogram.raw.types.NearestDc#

Nearest data center, according to geo-ip.

Constructor of NearestDc.

Details:
  • Layer: 158

  • ID: 8E1A1775

Parameters:
  • country (str) – Country code determined by geo-ip.

  • this_dc (int 32-bit) – Number of current data center.

  • nearest_dc (int 32-bit) – Number of nearest data center.

Functions:

This object can be returned by 1 function.

help.GetNearestDc

Returns info on data center nearest to the user.