Skip to content

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) -> object

Import an exported authorization and persist it when it includes user data.

Parameters:

Returns:

  • object – Telegram’s import result, which may or may not include an authorization object.