Files

22 lines
667 B
Go
Raw Permalink Normal View History

2026-04-09 10:01:23 +08:00
package request
import "code.tczkiot.com/wlw/ai-agent/internal/pkg/enums"
2026-04-09 10:01:23 +08:00
type MessageListRequest struct {
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 {
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"`
ClientMsgID string `json:"client_msg_id"`
2026-04-09 10:01:23 +08:00
}
type RecallConversationMessageRequest struct {
MessageID int64 `json:"message_id"`
2026-04-09 10:01:23 +08:00
}