mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2025-12-29 20:14:51 +00:00
Better docs for phone_code argument
This commit is contained in:
parent
47043380fb
commit
44f71f096f
1 changed files with 2 additions and 2 deletions
|
|
@ -93,8 +93,8 @@ class Client(Methods, BaseClient):
|
|||
entering it manually. Only applicable for new sessions.
|
||||
|
||||
phone_code (``str`` | ``callable``, *optional*):
|
||||
Pass the phone code as string (for test numbers only), or pass a callback function
|
||||
which must return the correct phone code as string (e.g., "12345").
|
||||
Pass the phone code as string (for test numbers only), or pass a callback function which accepts
|
||||
a single positional argument *(phone_number)* and must return the correct phone code (e.g., "12345").
|
||||
Only applicable for new sessions.
|
||||
|
||||
password (``str``, *optional*):
|
||||
|
|
|
|||
Loading…
Reference in a new issue