mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2026-01-08 16:04: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.
|
entering it manually. Only applicable for new sessions.
|
||||||
|
|
||||||
phone_code (``str`` | ``callable``, *optional*):
|
phone_code (``str`` | ``callable``, *optional*):
|
||||||
Pass the phone code as string (for test numbers only), or pass a callback function
|
Pass the phone code as string (for test numbers only), or pass a callback function which accepts
|
||||||
which must return the correct phone code as string (e.g., "12345").
|
a single positional argument *(phone_number)* and must return the correct phone code (e.g., "12345").
|
||||||
Only applicable for new sessions.
|
Only applicable for new sessions.
|
||||||
|
|
||||||
password (``str``, *optional*):
|
password (``str``, *optional*):
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue