Methods

signIn

Signs in using the provided parameters if not already signed in. If no parameters are provided, the credentials will be prompted in runtime.

Notes:

  1. Requires the apiId and apiHash parameters to be passed when constructing the client.
  2. Reconnects the client to the appropriate DC in case of MIGRATE_X errors.

Parameters

Result

Syntax