Skip to content

auth.importAuthorization

No description provided by the pinned schema.

auth.importAuthorization#a57a7dad id:long bytes:bytes = auth.Authorization;

auth.Authorization

Name Type Flag Default Description
id long — — No description provided by the pinned schema.
bytes bytes — — No description provided by the pinned schema.
from miniproto.raw.functions import AuthImportAuthorization

Public access: miniproto.raw.functions.AuthImportAuthorization.

from miniproto.raw.functions import AuthImportAuthorization
# Refer to the raw request class without constructing it or calling Telegram
request_type = AuthImportAuthorization

auth.Authorization

Code Error Description
400 AUTH_BYTES_INVALID The provided authorization is invalid.
400 BUSINESS_CONNECTION_NOT_ALLOWED This method was invoked over a business connection using invokeWithBusinessConnection, but either (1) we’re a user, and users cannot invoke methods over a business connection; (2) we’re a bot, but business mode was disabled in @botfather or (3); we’re a bot, but this method cannot be invoked over a business connection.
400 USER_ID_INVALID The provided user ID is invalid.

No non-primitive type relationships were found.

auth.Authorization Known selected constructors: auth.authorization, auth.authorizationSignUpRequired

auth.checkPassword, auth.finishFirebasePnvLogin, auth.finishPasskeyLogin, auth.firebasePnvSignUp, auth.importBotAuthorization, auth.importWebTokenAuthorization, auth.recoverPassword, auth.signIn, auth.signUp

  • unauthenticated allowed
  • tdlib_vs_core: changed_count=77; core_only_count=18; overlap_count=2338; tdlib_only_count=307
  • tdlib_vs_tdesktop: changed_count=0; overlap_count=2634; tdesktop_only=null; tdlib_only=accessPointRule, bots.setBotSettings, help.configSimple, inputPeerPhotoFileLocationLegacy, inputStickerSetThumbLegacy, invokeWithApnsSecretPrefix, invokeWithBusinessConnectionPrefix, invokeWithGooglePlayIntegrityPrefix, invokeWithReCaptchaPrefix, ipPort, ipPortSecret