From 383179b78cec1addc145dd8ef04d60462ac37e53 Mon Sep 17 00:00:00 2001 From: renat Date: Thu, 30 Jan 2025 11:45:37 +0100 Subject: [PATCH] add CC to File struct for email file --- files.go | 28 +++++++++++++++------------- 1 file changed, 15 insertions(+), 13 deletions(-) diff --git a/files.go b/files.go index 5eb6d1c7..0682fb67 100644 --- a/files.go +++ b/files.go @@ -79,19 +79,21 @@ type File struct { Lines int `json:"lines"` LinesMore int `json:"lines_more"` - IsPublic bool `json:"is_public"` - PublicURLShared bool `json:"public_url_shared"` - Channels []string `json:"channels"` - Groups []string `json:"groups"` - IMs []string `json:"ims"` - InitialComment Comment `json:"initial_comment"` - CommentsCount int `json:"comments_count"` - NumStars int `json:"num_stars"` - IsStarred bool `json:"is_starred"` - Shares Share `json:"shares"` - Subject string `json:"subject"` - To []EmailFileUserInfo `json:"to"` - From []EmailFileUserInfo `json:"from"` + IsPublic bool `json:"is_public"` + PublicURLShared bool `json:"public_url_shared"` + Channels []string `json:"channels"` + Groups []string `json:"groups"` + IMs []string `json:"ims"` + InitialComment Comment `json:"initial_comment"` + CommentsCount int `json:"comments_count"` + NumStars int `json:"num_stars"` + IsStarred bool `json:"is_starred"` + Shares Share `json:"shares"` + + Subject string `json:"subject"` + To []EmailFileUserInfo `json:"to"` + From []EmailFileUserInfo `json:"from"` + Cc []EmailFileUserInfo `json:"cc"` } type EmailFileUserInfo struct {