Skip to content

auth.importAuthorization

No description provided by the pinned schema.

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

auth.Authorization

NameTypeFlagDefaultDescription
idlongNo description provided by the pinned schema.
bytesbytesNo description provided by the pinned schema.
from miniproto.raw.functions import AuthImportAuthorization

Public access: miniproto.raw.functions.AuthImportAuthorization.

from miniproto.raw.functions import AuthImportAuthorization
# Naming the raw request class is local only; it performs no I/O or network request.
request_type = AuthImportAuthorization

auth.Authorization

CodeErrorDescription
400AUTH_BYTES_INVALIDThe provided authorization is invalid.
400BUSINESS_CONNECTION_NOT_ALLOWEDThis 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.
400USER_ID_INVALIDThe provided user ID is invalid.

No non-primitive type relationships were found.

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

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

  • unauthenticated allowed
  • tdlib_vs_core: changed_count=68; core_only_count=1; overlap_count=2302; tdlib_only_count=158
  • tdlib_vs_tdesktop: changed_count=0; overlap_count=2448; tdesktop_only=null; tdlib_only=accessPointRule, ephemeral.editMessage, help.configSimple, inputPeerPhotoFileLocationLegacy, inputStickerSetThumbLegacy, invokeWithApnsSecretPrefix, invokeWithBusinessConnectionPrefix, invokeWithGooglePlayIntegrityPrefix, invokeWithReCaptchaPrefix, ipPort, ipPortSecret, updateEphemeralBotCallbackQuery