Skip to content

模块 liteyuki.session.message.segments

class BaseSeg(BaseModel)

attr type: str = 'Segment'

attr data: dict[str, Any] = NO_DEFAULT

class Text(BaseSeg)

attr content: str = NO_DEFAULT

class Image(BaseSeg)

attr url: str = NO_DEFAULT

文档由 VitePress 构建 | API引用由 litedoc 生成