File tree Expand file tree Collapse file tree
pyrogram/client/methods/users Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2020from .get_me import GetMe
2121from .get_user_profile_photos import GetUserProfilePhotos
2222from .get_users import GetUsers
23- from .set_profile_photo import SetProfilePhoto
23+ from .set_user_profile_photo import SetUserProfilePhoto
2424
2525
2626class Users (
2727 GetUserProfilePhotos ,
28- SetProfilePhoto ,
28+ SetUserProfilePhoto ,
2929 DeleteProfilePhotos ,
3030 GetUsers ,
3131 GetMe
Original file line number Diff line number Diff line change 2020from ...ext import BaseClient
2121
2222
23- class SetProfilePhoto (BaseClient ):
24- def set_profile_photo (self , photo : str ):
25- """Use this method to set a new profile photo.
23+ class SetUserProfilePhoto (BaseClient ):
24+ def set_user_profile_photo (self , photo : str ):
25+ """Use this method to set a new user profile photo.
2626
27- This method only works for Users. Bots profile photos must be set using BotFather.
27+ This method only works for Users.
28+ Bots profile photos must be set using BotFather.
2829
2930 Args:
3031 photo (``str``):
You can’t perform that action at this time.
0 commit comments