Skip to content

Commit

Permalink
pyrofork: fix typo in set_chat_photo
Browse files Browse the repository at this point in the history
Signed-off-by: wulan17 <wulan17@nusantararom.org>
  • Loading branch information
wulan17 committed Sep 10, 2024
1 parent 6df1101 commit 0f3313a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pyrogram/methods/chats/set_chat_photo.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
# along with Pyrofork. If not, see <http://www.gnu.org/licenses/>.

import os
from typing import Union, BinaryIO
from typing import Union, BinaryIO, List

import pyrogram
from pyrogram import raw, types, utils
Expand All @@ -32,7 +32,7 @@ async def set_chat_photo(
*,
photo: Union[str, BinaryIO] = None,
emoji: int = None,
emoji_background: Union[int, list[int]] = None,
emoji_background: Union[int, List[int]] = None,
video: Union[str, BinaryIO] = None,
video_start_ts: float = None,
) -> Union["types.Message", bool]:
Expand Down

0 comments on commit 0f3313a

Please sign in to comment.