调用机器人基础发送消息接口 参数: event: 上报事件 message: 要发送的消息 kwargs: 任意额外参数
(
self,
event: "Event",
message: "str | Message | MessageSegment",
**kwargs: Any,
)
| 178 | |
| 179 | @abc.abstractmethod |
| 180 | async def send( |
| 181 | self, |
| 182 | event: "Event", |
| 183 | message: "str | Message | MessageSegment", |
| 184 | **kwargs: Any, |
| 185 | ) -> Any: |
| 186 | """调用机器人基础发送消息接口 |
| 187 | |
| 188 | 参数: |
| 189 | event: 上报事件 |
| 190 | message: 要发送的消息 |
| 191 | kwargs: 任意额外参数 |
| 192 | """ |
| 193 | raise NotImplementedError |
| 194 | |
| 195 | @classmethod |
| 196 | def on_calling_api(cls, func: T_CallingAPIHook) -> T_CallingAPIHook: |
no outgoing calls