客服可以给会话设置个人备注, 设置 快捷回复
建群自动话术
This commit is contained in:
@@ -29,6 +29,7 @@ type ParticipantDTO struct {
|
||||
ParticipantType string `json:"participant_type"`
|
||||
ParticipantID uint64 `json:"participant_id"`
|
||||
Role string `json:"role"`
|
||||
Remark string `json:"remark"`
|
||||
DisplayName string `json:"display_name"`
|
||||
AvatarURL string `json:"avatar_url"`
|
||||
LastReadAt *time.Time `json:"last_read_at"`
|
||||
@@ -54,6 +55,41 @@ type SendMessageRequest struct {
|
||||
Content string `json:"content" binding:"required"`
|
||||
}
|
||||
|
||||
type TransferRequest struct {
|
||||
ToAdminID uint64 `json:"to_admin_id" binding:"required"`
|
||||
}
|
||||
|
||||
type UpdateRemarkRequest struct {
|
||||
Remark string `json:"remark"`
|
||||
}
|
||||
|
||||
type SupportAdminDTO struct {
|
||||
ID uint64 `json:"id"`
|
||||
Nickname string `json:"nickname"`
|
||||
ChatCount int64 `json:"chat_count"`
|
||||
}
|
||||
|
||||
type QuickReplyDTO struct {
|
||||
ID uint64 `json:"id"`
|
||||
AdminUserID uint64 `json:"admin_user_id"`
|
||||
Title string `json:"title"`
|
||||
Content string `json:"content"`
|
||||
SortOrder int `json:"sort_order"`
|
||||
IsGlobal bool `json:"is_global"`
|
||||
}
|
||||
|
||||
type CreateQuickReplyRequest struct {
|
||||
Title string `json:"title" binding:"required"`
|
||||
Content string `json:"content" binding:"required"`
|
||||
SortOrder int `json:"sort_order"`
|
||||
}
|
||||
|
||||
type UpdateQuickReplyRequest struct {
|
||||
Title string `json:"title"`
|
||||
Content string `json:"content"`
|
||||
SortOrder *int `json:"sort_order"`
|
||||
}
|
||||
|
||||
type PaginatedResult struct {
|
||||
Items interface{} `json:"items"`
|
||||
Total int64 `json:"total"`
|
||||
|
||||
Reference in New Issue
Block a user