mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-08 21:10:29 +00:00
Fix some misleading errors/documentation
This commit is contained in:
@@ -292,8 +292,7 @@ class TelegramClient(TelegramBareClient):
|
||||
|
||||
If no phone or code is provided, then the sole password will be used.
|
||||
The password should be used after a normal authorization attempt
|
||||
has happened and an RPCError with `.password_required = True` was
|
||||
raised.
|
||||
has happened and an SessionPasswordNeededError was raised.
|
||||
|
||||
To login as a bot, only `bot_token` should be provided.
|
||||
This should equal to the bot access hash provided by
|
||||
|
Reference in New Issue
Block a user