From 48e45fee9b3018fcd509362ea5775ed568379431 Mon Sep 17 00:00:00 2001 From: Dan <14043624+delivrance@users.noreply.github.com> Date: Sat, 2 May 2020 21:16:52 +0200 Subject: [PATCH] Add missing update_profile to docs and Client --- compiler/docs/compiler.py | 1 + pyrogram/client/methods/users/__init__.py | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/compiler/docs/compiler.py b/compiler/docs/compiler.py index ff205f9b..6b596b2f 100644 --- a/compiler/docs/compiler.py +++ b/compiler/docs/compiler.py @@ -226,6 +226,7 @@ def pyrogram_api(): set_profile_photo delete_profile_photos update_username + update_profile block_user unblock_user """, diff --git a/pyrogram/client/methods/users/__init__.py b/pyrogram/client/methods/users/__init__.py index 1980303f..65171af6 100644 --- a/pyrogram/client/methods/users/__init__.py +++ b/pyrogram/client/methods/users/__init__.py @@ -26,6 +26,7 @@ from .get_users import GetUsers from .iter_profile_photos import IterProfilePhotos from .set_profile_photo import SetProfilePhoto from .unblock_user import UnblockUser +from .update_profile import UpdateProfile from .update_username import UpdateUsername @@ -40,6 +41,7 @@ class Users( UpdateUsername, GetProfilePhotosCount, IterProfilePhotos, - UnblockUser + UnblockUser, + UpdateProfile ): pass