Skip to content

auth.importBotAuthorization

No description provided by the pinned schema.

auth.importBotAuthorization#67a3ff2c flags:int api_id:int api_hash:string bot_auth_token:string = auth.Authorization;

auth.Authorization

NameTypeFlagDefaultDescription
flagsintNo description provided by the pinned schema.
api_idintNo description provided by the pinned schema.
api_hashstringNo description provided by the pinned schema.
bot_auth_tokenstringNo description provided by the pinned schema.
from miniproto.raw.functions import AuthImportBotAuthorization

Public access: miniproto.raw.functions.AuthImportBotAuthorization.

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

auth.Authorization

CodeErrorDescription
400ACCESS_TOKEN_EXPIREDAccess token expired.
400ACCESS_TOKEN_INVALIDAccess token invalid.
400API_ID_INVALIDAPI ID invalid.
400API_ID_PUBLISHED_FLOODThis API id was published somewhere, you can’t use it now.
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.

No non-primitive type relationships were found.

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

auth.checkPassword, auth.finishPasskeyLogin, auth.importAuthorization, 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