mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2026-01-04 14:24: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/>.
|
# along with Pyrofork. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
import os
|
import os
|
||||||
from typing import Union, BinaryIO
|
from typing import Union, BinaryIO, List
|
||||||
|
|
||||||
import pyrogram
|
import pyrogram
|
||||||
from pyrogram import raw, types, utils
|
from pyrogram import raw, types, utils
|
||||||
|
|
@ -32,7 +32,7 @@ class SetChatPhoto:
|
||||||
*,
|
*,
|
||||||
photo: Union[str, BinaryIO] = None,
|
photo: Union[str, BinaryIO] = None,
|
||||||
emoji: int = None,
|
emoji: int = None,
|
||||||
emoji_background: Union[int, list[int]] = None,
|
emoji_background: Union[int, List[int]] = None,
|
||||||
video: Union[str, BinaryIO] = None,
|
video: Union[str, BinaryIO] = None,
|
||||||
video_start_ts: float = None,
|
video_start_ts: float = None,
|
||||||
) -> Union["types.Message", bool]:
|
) -> Union["types.Message", bool]:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue