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.AuthExportedAuthorizationExport the current user authorization for import at another data center.
Parameters:
- dc_id (
int) – Target data-center identifier.
Returns:
AuthExportedAuthorization– Telegram’s short-lived exported authorization payload.
Raises:
RpcError– If Telegram returns an unexpected export response.