pyrofork: fix typo in set_chat_photo

Signed-off-by: wulan17 <wulan17@nusantararom.org>
This commit is contained in:
wulan17 2024-09-10 14:32:01 +07:00
parent caea59cc17
commit 57155cbdfa
No known key found for this signature in database
GPG key ID: 318CD6CD3A6AC0A5

View file

@ -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
@ -32,7 +32,7 @@ class SetChatPhoto:
*,
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]: