mirror of
https://github.com/TeamPGM/pyrogram.git
synced 2024-11-24 07:51:44 +00:00
Update docstrings
This commit is contained in:
parent
8cc0fe14da
commit
0f09989d67
@ -1642,7 +1642,7 @@ class Client:
|
|||||||
raise ChatAdminRequired
|
raise ChatAdminRequired
|
||||||
|
|
||||||
def enable_cloud_password(self, password: str, hint: str = "", email: str = ""):
|
def enable_cloud_password(self, password: str, hint: str = "", email: str = ""):
|
||||||
"""Use this method to enable two-step verification (Cloud Password)
|
"""Use this method to enable the Two-Step Verification security feature (Cloud Password) on your account.
|
||||||
|
|
||||||
This password will be asked when you log in on a new device in addition to the SMS code.
|
This password will be asked when you log in on a new device in addition to the SMS code.
|
||||||
|
|
||||||
@ -1683,7 +1683,7 @@ class Client:
|
|||||||
return False
|
return False
|
||||||
|
|
||||||
def change_cloud_password(self, current_password: str, new_password: str, new_hint: str = ""):
|
def change_cloud_password(self, current_password: str, new_password: str, new_hint: str = ""):
|
||||||
"""Use this method to change your two-step verification password (Cloud Password)
|
"""Use this method to change your Two-Step Verification password (Cloud Password) with a new one.
|
||||||
|
|
||||||
Args:
|
Args:
|
||||||
current_password (:obj:`str`):
|
current_password (:obj:`str`):
|
||||||
@ -1723,7 +1723,7 @@ class Client:
|
|||||||
return False
|
return False
|
||||||
|
|
||||||
def remove_cloud_password(self, password: str):
|
def remove_cloud_password(self, password: str):
|
||||||
"""Use this method to turn off your two-step verification password (Cloud Password)
|
"""Use this method to turn off the Two-Step Verification security feature (Cloud Password) on your account.
|
||||||
|
|
||||||
Args:
|
Args:
|
||||||
password (:obj:`str`):
|
password (:obj:`str`):
|
||||||
|
Loading…
Reference in New Issue
Block a user