mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-07-27 08:19:47 +03:00
Fix FilterType
This commit is contained in:
parent
c3c5e212b7
commit
34c4845909
|
@ -5,7 +5,7 @@ from typing import Awaitable, TypeAlias
|
||||||
|
|
||||||
from ..event import Event
|
from ..event import Event
|
||||||
|
|
||||||
FilterType: TypeAlias = Callable[[Event], bool | Awaitable[bool]] | "Combinable"
|
FilterType: TypeAlias = "Callable[[Event], bool | Awaitable[bool]] | Combinable"
|
||||||
|
|
||||||
|
|
||||||
class Combinable(abc.ABC):
|
class Combinable(abc.ABC):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user