miniproto.auth.service.AuthService.select_current_dc
miniproto.auth.service.AuthService.select_current_dc
Section titled “miniproto.auth.service.AuthService.select_current_dc”select_current_dc() -> DCOptionReturn the preferred non-media endpoint for the persisted current DC.
Raises:
InvalidDatacenter– If the session has no saved endpoint for its current DC.