From 88e42ecc0d339ca9d9df8f50b305ec82a8567332 Mon Sep 17 00:00:00 2001 From: CyanBook Date: Mon, 4 May 2020 10:55:10 +0000 Subject: [PATCH] Update update_profile example (#395) --- pyrogram/client/methods/users/update_profile.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pyrogram/client/methods/users/update_profile.py b/pyrogram/client/methods/users/update_profile.py index 19ec6d66..91a7950c 100644 --- a/pyrogram/client/methods/users/update_profile.py +++ b/pyrogram/client/methods/users/update_profile.py @@ -50,13 +50,13 @@ class UpdateProfile(BaseClient): .. code-block:: python # Update your first name only - app.update_bio(first_name="Pyrogram") + app.update_profile(first_name="Pyrogram") # 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 - app.update_bio(last_name="") + app.update_profile(last_name="") """ return bool(