mirror of
https://github.com/LiteyukiStudio/marshoai-melo.git
synced 2024-11-24 03:35:04 +08:00
8 lines
236 B
Python
8 lines
236 B
Python
from melobot.protocols.onebot.v11.adapter.segment import Segment
|
|
from typing import Literal
|
|
from typing_extensions import TypedDict
|
|
|
|
class _TouchData(TypedDict):
|
|
id: str
|
|
|
|
TouchSegment = Segment.add_type(Literal['touch'], _TouchData) |