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 {
|
2026-08-28 22:23:13 +08:00
|
|
|
ConversationID int64 `json:"conversation_id"`
|
|
|
|
|
SenderType string `json:"sender_type"`
|
|
|
|
|
MessageType string `json:"message_type"`
|
2026-04-09 10:01:23 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type SendConversationMessageRequest struct {
|
2026-08-28 22:23:13 +08:00
|
|
|
ConversationID int64 `json:"conversation_id"`
|
|
|
|
|
MessageType enums.IMMessageType `json:"message_type"`
|
2026-04-09 10:01:23 +08:00
|
|
|
Content string `json:"content"`
|
|
|
|
|
Payload string `json:"payload"`
|
2026-08-28 22:23:13 +08:00
|
|
|
ClientMsgID string `json:"client_msg_id"`
|
2026-04-09 10:01:23 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type RecallConversationMessageRequest struct {
|
2026-08-28 22:23:13 +08:00
|
|
|
MessageID int64 `json:"message_id"`
|
2026-04-09 10:01:23 +08:00
|
|
|
}
|