Skip to content

Commit 383179b

Browse files
rntknlopes
authored andcommitted
add CC to File struct for email file
1 parent 90e2abd commit 383179b

File tree

1 file changed

+15
-13
lines changed

1 file changed

+15
-13
lines changed

files.go

Lines changed: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -79,19 +79,21 @@ type File struct {
7979
Lines int `json:"lines"`
8080
LinesMore int `json:"lines_more"`
8181

82-
IsPublic bool `json:"is_public"`
83-
PublicURLShared bool `json:"public_url_shared"`
84-
Channels []string `json:"channels"`
85-
Groups []string `json:"groups"`
86-
IMs []string `json:"ims"`
87-
InitialComment Comment `json:"initial_comment"`
88-
CommentsCount int `json:"comments_count"`
89-
NumStars int `json:"num_stars"`
90-
IsStarred bool `json:"is_starred"`
91-
Shares Share `json:"shares"`
92-
Subject string `json:"subject"`
93-
To []EmailFileUserInfo `json:"to"`
94-
From []EmailFileUserInfo `json:"from"`
82+
IsPublic bool `json:"is_public"`
83+
PublicURLShared bool `json:"public_url_shared"`
84+
Channels []string `json:"channels"`
85+
Groups []string `json:"groups"`
86+
IMs []string `json:"ims"`
87+
InitialComment Comment `json:"initial_comment"`
88+
CommentsCount int `json:"comments_count"`
89+
NumStars int `json:"num_stars"`
90+
IsStarred bool `json:"is_starred"`
91+
Shares Share `json:"shares"`
92+
93+
Subject string `json:"subject"`
94+
To []EmailFileUserInfo `json:"to"`
95+
From []EmailFileUserInfo `json:"from"`
96+
Cc []EmailFileUserInfo `json:"cc"`
9597
}
9698

9799
type EmailFileUserInfo struct {

0 commit comments

Comments
 (0)