23 lines
487 B
Go
23 lines
487 B
Go
package entitys
|
|
|
|
import (
|
|
"ai_scheduler/internal/data/model"
|
|
|
|
"github.com/open-dingtalk/dingtalk-stream-sdk-go/chatbot"
|
|
)
|
|
|
|
type RequireDataDingTalkBot struct {
|
|
Histories []model.AiChatHi
|
|
UserInfo *DingTalkUserInfo
|
|
Tools []model.AiBotTool
|
|
Match *Match
|
|
Req *chatbot.BotCallbackDataModel
|
|
Ch chan Response
|
|
}
|
|
|
|
type DingTalkBot struct {
|
|
BotIndex string `json:"bot_index"`
|
|
ClientId string `json:"client_id"`
|
|
ClientSecret string `json:"client_secret"`
|
|
}
|