Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Message ¶
type Message struct {
ID string `json:"id"`
SenderID string `json:"senderId,omitempty"`
SenderName string `json:"senderName,omitempty"`
Role string `json:"role"`
Content string `json:"content"`
Timestamp int64 `json:"timestamp"`
ThreadID string `json:"threadId,omitempty"`
MessageType string `json:"messageType,omitempty"`
}
Message is one chat-visible message from the transport platform.
type Request ¶
type Request struct {
SessionID agentkit.SessionID
UserID string
Limit int
Before string // page cursor (page_token)
After string // start time, unix seconds
Order string // asc | desc
Query string // optional client-side keyword filter
Thread bool // when true and session has :t:, scope to thread messages
}
Request describes a history read against a delivery session.
Click to show internal directories.
Click to hide internal directories.