Files
ai-agent/internal/pkg/dto/request/message_request.go
T

22 lines
659 B
Go
Raw 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:"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"`
}