2026-04-09 10:01:23 +08:00
|
|
|
package request
|
|
|
|
|
|
2026-08-21 00:41:07 +08:00
|
|
|
import "code.tczkiot.com/wlw/ai-agent/internal/pkg/enums"
|
2026-04-09 10:01:23 +08:00
|
|
|
|
|
|
|
|
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"`
|
|
|
|
|
}
|