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

Name Type Flag Default Description
flags int — — No description provided by the pinned schema.
api_id int — — No description provided by the pinned schema.
api_hash string — — No description provided by the pinned schema.
bot_auth_token string — — No description provided by the pinned schema.
from miniproto.raw.functions import AuthImportBotAuthorization

Public access: miniproto.raw.functions.AuthImportBotAuthorization.

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

auth.Authorization

Code Error Description
400 ACCESS_TOKEN_EXPIRED Access token expired.
400 ACCESS_TOKEN_INVALID Access token invalid.
400 API_ID_INVALID API ID invalid.
400 API_ID_PUBLISHED_FLOOD This API id was published somewhere, you can’t use it now.
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.

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.importAuthorization, 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