Add missing update_profile to docs and Client

This commit is contained in:
Dan 2020-05-02 21:16:52 +02:00
parent 2f3dc3f39e
commit 48e45fee9b
2 changed files with 4 additions and 1 deletions

View File

@ -226,6 +226,7 @@ def pyrogram_api():
set_profile_photo set_profile_photo
delete_profile_photos delete_profile_photos
update_username update_username
update_profile
block_user block_user
unblock_user unblock_user
""", """,

View File

@ -26,6 +26,7 @@ from .get_users import GetUsers
from .iter_profile_photos import IterProfilePhotos from .iter_profile_photos import IterProfilePhotos
from .set_profile_photo import SetProfilePhoto from .set_profile_photo import SetProfilePhoto
from .unblock_user import UnblockUser from .unblock_user import UnblockUser
from .update_profile import UpdateProfile
from .update_username import UpdateUsername from .update_username import UpdateUsername
@ -40,6 +41,7 @@ class Users(
UpdateUsername, UpdateUsername,
GetProfilePhotosCount, GetProfilePhotosCount,
IterProfilePhotos, IterProfilePhotos,
UnblockUser UnblockUser,
UpdateProfile
): ):
pass pass