2bbf42b741
Remove Agent Desk users, roles, login sessions, tokens, and local permission persistence. Expose the backend as an embeddable ai-agent module with host-provided subject lookup and operation authorization callbacks, and complete the frontend/backend repository split.
22 lines
659 B
Go
22 lines
659 B
Go
package request
|
|
|
|
import "code.tczkiot.com/wlw/ai-agent/internal/pkg/enums"
|
|
|
|
type MessageListRequest struct {
|
|
ConversationID int64 `json:"conversationId"`
|
|
SenderType string `json:"senderType"`
|
|
MessageType string `json:"messageType"`
|
|
}
|
|
|
|
type SendConversationMessageRequest struct {
|
|
ConversationID int64 `json:"conversationId"`
|
|
MessageType enums.IMMessageType `json:"messageType"`
|
|
Content string `json:"content"`
|
|
Payload string `json:"payload"`
|
|
ClientMsgID string `json:"clientMsgId"`
|
|
}
|
|
|
|
type RecallConversationMessageRequest struct {
|
|
MessageID int64 `json:"messageId"`
|
|
}
|