Mention PhoneNumberUnoccupiedError

Lonami 2017-08-29 15:10:27 +02:00
parent afdc4b4e85
commit ea76355185

@ -36,6 +36,8 @@ Although Python will probably clean up the resources used by the `TelegramClient
client.disconnect() client.disconnect()
``` ```
If you get a `PhoneNumberUnoccupiedError` while calling `.sign_in()`, this is because you don't have a Telegram account yet! In this case, use `.sign_up()` instead.
## Side notes ## Side notes
As a side note, you may come across, or find useful, these lines: As a side note, you may come across, or find useful, these lines: