Documentation
¶
Index ¶
Constants ¶
View Source
const ( // SegmentGapMinutes 对话段落切分间隔(5分钟无新消息切分) SegmentGapMinutes = 5 // DefaultPageSize 默认分页大小 DefaultPageSize = 20 // MaxPageSize 最大分页大小 MaxPageSize = 100 )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CallingParticipantResp ¶
type StorylineResp ¶
type StorylineResp struct {
Segments []*StorylineSegment `json:"segments"`
Cursor string `json:"cursor,omitempty"` // 下一页游标
}
StorylineResp 故事线响应
type StorylineSegment ¶
type StorylineSegment struct {
ID string `json:"id"` // 段落唯一ID
StartTime string `json:"start_time"` // 开始时间 (ISO8601)
EndTime string `json:"end_time"` // 结束时间 (ISO8601)
MessageCount int `json:"message_count"` // 消息条数
Participants []string `json:"participants"` // 参与者列表
FirstMessageID string `json:"first_message_id"` // 首条消息ID(用于跳转定位)
}
StorylineSegment 对话段落
Source Files
¶
Click to show internal directories.
Click to hide internal directories.