2
0
mirror of https://github.com/pyrogram/pyrogram synced 2025-08-28 12:57:52 +00:00

Fix docstrings

This commit is contained in:
Dan 2018-10-16 11:45:39 +02:00
parent 29201674ef
commit 22998af784

View File

@ -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.