Skip to content

miniproto.auth.service.AuthService.export_authorization

miniproto.auth.service.AuthService.export_authorization

Section titled “miniproto.auth.service.AuthService.export_authorization”
export_authorization(dc_id: int) -> types.AuthExportedAuthorization

Export the current user authorization for import at another data center.

Parameters:

  • dc_id (int) – Target data-center identifier.

Returns:

Raises:

  • RpcError – If Telegram returns an unexpected export response.