Skip to content

Commit

Permalink
pyrofork: Update set_profile_photo notes
Browse files Browse the repository at this point in the history
Signed-off-by: Yasir <git@yasir.id>
  • Loading branch information
yasirarism committed Jan 10, 2025
1 parent 1869436 commit e0713b4
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions pyrogram/methods/users/set_profile_photo.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,9 @@ async def set_profile_photo(
.. note::
This method only works for Users.
Bots profile photos must be set using BotFather.
This bots method only works for photo only.
.. include:: /_includes/usable-by/users.rst
.. include:: /_includes/usable-by/users-bots.rst
Parameters:
photo (``str`` | ``BinaryIO``, *optional*):
Expand Down

0 comments on commit e0713b4

Please sign in to comment.