liteyuki.message.event
Less than 1 minuteAPI
class Event
def __init__(self, type: str, data: dict[str, Any], bot_id: str, session_id: str, session_type: str, receive_channel: str) -> None
事件
Args:
type: 类型
data: 数据
bot_id: 机器人ID
session_id: 会话ID
session_type: 会话类型
receive_channel: 接收频道
def reply(self, message: str | dict[str, Any]) -> None
回复消息
Args:
message:
Returns: