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 <[email protected]>
  • Loading branch information
yasirarism committed Jan 9, 2025
1 parent d032c3a commit 83f7caa
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 83f7caa

Please sign in to comment.