miniproto.auth.service.AuthService.import_authorization
miniproto.auth.service.AuthService.import_authorization
Section titled “miniproto.auth.service.AuthService.import_authorization”import_authorization(exported: types.AuthExportedAuthorization) -> objectImport an exported authorization and persist it when it includes user data.
Parameters:
- exported (
AuthExportedAuthorization) – Authorization previously exported for this data center.
Returns:
object– Telegram’s import result, which may or may not include an authorization object.