Skip to content

auth.importBotAuthorization

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 — —
api_id int — —
api_hash string — —
bot_auth_token string — —
from miniproto.raw.functions import AuthImportBotAuthorization

Public access: miniproto.raw.functions.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

Schema sources