Update external links to the documentation

This commit is contained in:
Lonami Exo
2019-05-09 14:09:22 +02:00
parent 0a3d6106f0
commit 7f88238d8f
7 changed files with 13 additions and 13 deletions

View File

@@ -119,7 +119,7 @@ with
TelegramClient('anon', api_id, api_hash, proxy=(socks.SOCKS5, '127.0.0.1', 4444))
(of course, replacing the IP and port with the IP and port of the proxye).
(of course, replacing the IP and port with the IP and port of the proxy).
The ``proxy=`` argument should be a tuple, a list or a dict,
consisting of parameters described `in PySocks usage`__.

View File

@@ -47,12 +47,12 @@ And except them as such:
.. code-block:: python
import time
try:
client.send_message(chat, 'Hi')
except FloodWaitError as e:
except errors.FloodWaitError as e:
# e.seconds is how many seconds you have
# to wait before making the request again.
print('Flood for', e.seconds)
time.sleep(e.seconds)
My account was deleted/limited when using the library