mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2025-12-29 12:04:51 +00:00
pyrofork: fix typo in set_chat_photo
Signed-off-by: wulan17 <wulan17@nusantararom.org>
This commit is contained in:
parent
caea59cc17
commit
57155cbdfa
1 changed files with 2 additions and 2 deletions
|
|
@ -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]:
|
||||
|
|
|
|||
Loading…
Reference in a new issue