nonebot2/none/typing.py
2018-10-16 01:03:50 +08:00

8 lines
267 B
Python

from typing import Union, List, Dict, Any, Sequence, Callable, Tuple
Context_T = Dict[str, Any]
Message_T = Union[str, Dict[str, Any], List[Dict[str, Any]]]
Expression_T = Union[str, Sequence[str], Callable]
CommandName_T = Tuple[str]
CommandArgs_T = Dict[str, Any]