mirror of
https://github.com/nonebot/nonebot2.git
synced 2024-11-28 04:56:57 +08:00
9 lines
334 B
Python
9 lines
334 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] # deprecated, use `State_T` instead
|
|
State_T = Dict[str, Any]
|