method Client.prototype.authorizeimport { Client } from "https://deno.land/x/mtkruto@0.1.117/mod.ts"; authorize(params?: string | types.AuthExportedAuthorization | AuthorizeUserParams)Calls initConnection and authorizes the client with one of the following: Bot token (string) Exported authorization (types.AuthExportedAuthorization) User authorization handlers (AuthorizeUserParams) if the current auth key doesn't throw AUTH_KEY_UNREGISTERED when calling updates.getState. Notes: Requires the apiId and apiHash paramters to be passed when constructing the client. Reconnects the client to the appropriate DC in case of MIGRATE_X errors. The parameters passed to the initConnection call can be configured with the last parameter of the constructor. Parametersoptionalparams: string | types.AuthExportedAuthorization | AuthorizeUserParams