mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2026-01-07 15:34:52 +00:00
Update update_profile example (#395)
This commit is contained in:
parent
4ff924bcfb
commit
88e42ecc0d
1 changed files with 3 additions and 3 deletions
|
|
@ -50,13 +50,13 @@ class UpdateProfile(BaseClient):
|
||||||
.. code-block:: python
|
.. code-block:: python
|
||||||
|
|
||||||
# Update your first name only
|
# Update your first name only
|
||||||
app.update_bio(first_name="Pyrogram")
|
app.update_profile(first_name="Pyrogram")
|
||||||
|
|
||||||
# Update first name and bio
|
# Update first name and bio
|
||||||
app.update_bio(first_name="Pyrogram", bio="https://docs.pyrogram.org/")
|
app.update_profile(first_name="Pyrogram", bio="https://docs.pyrogram.org/")
|
||||||
|
|
||||||
# Remove the last name
|
# Remove the last name
|
||||||
app.update_bio(last_name="")
|
app.update_profile(last_name="")
|
||||||
"""
|
"""
|
||||||
|
|
||||||
return bool(
|
return bool(
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue