diff --git a/pyrogram/methods/chats/set_chat_photo.py b/pyrogram/methods/chats/set_chat_photo.py index 469b3633..07c9b6fb 100644 --- a/pyrogram/methods/chats/set_chat_photo.py +++ b/pyrogram/methods/chats/set_chat_photo.py @@ -18,7 +18,7 @@ # along with Pyrofork. If not, see . import os -from typing import Union, BinaryIO +from typing import Union, BinaryIO, List import pyrogram from pyrogram import raw, types, utils @@ -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]: