connect()

Client.connect()

Connect the client to Telegram servers.

Returns

bool – On success, in case the passed-in session is authorized, True is returned. Otherwise, in case the session needs to be authorized, False is returned.

Raises

ConnectionError – In case you try to connect an already connected client.