mirror of
https://github.com/pyrogram/pyrogram
synced 2025-08-28 12:57:52 +00:00
Fix docstrings
This commit is contained in:
parent
29201674ef
commit
22998af784
@ -22,7 +22,7 @@ from ...ext import BaseClient
|
|||||||
|
|
||||||
class SetUserProfilePhoto(BaseClient):
|
class SetUserProfilePhoto(BaseClient):
|
||||||
def set_user_profile_photo(self, photo: str):
|
def set_user_profile_photo(self, photo: str):
|
||||||
"""Use this method to set a new user profile photo.
|
"""Use this method to set a new profile photo.
|
||||||
|
|
||||||
This method only works for Users.
|
This method only works for Users.
|
||||||
Bots profile photos must be set using BotFather.
|
Bots profile photos must be set using BotFather.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user