Skip to content

Commit

Permalink
add CC to File struct for email file
Browse files Browse the repository at this point in the history
  • Loading branch information
rntk authored and nlopes committed Feb 1, 2025
1 parent 90e2abd commit 383179b
Showing 1 changed file with 15 additions and 13 deletions.
28 changes: 15 additions & 13 deletions files.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 383179b

Please sign in to comment.