NearestDc

class pyrogram.raw.types.NearestDc

Nearest data centre, according to geo-ip.

Constructor type of NearestDc.

Details
  • Layer: 126

  • ID: 0x8e1a1775

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

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

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

Methods

This object can be returned by 1 method:

help.GetNearestDc

Returns info on data centre nearest to the user.