@@ -28,13 +28,14 @@ type CommitCommentPayload struct {
28
28
Type string `json:"type"`
29
29
SiteAdmin bool `json:"site_admin"`
30
30
} `json:"user"`
31
- Position * int64 `json:"position"`
32
- Line * int64 `json:"line"`
33
- Path * string `json:"path"`
34
- CommitID string `json:"commit_id"`
35
- CreatedAt time.Time `json:"created_at"`
36
- UpdatedAt time.Time `json:"updated_at"`
37
- Body string `json:"body"`
31
+ Position * int64 `json:"position"`
32
+ Line * int64 `json:"line"`
33
+ Path * string `json:"path"`
34
+ CommitID string `json:"commit_id"`
35
+ CreatedAt time.Time `json:"created_at"`
36
+ UpdatedAt time.Time `json:"updated_at"`
37
+ Body string `json:"body"`
38
+ AuthorAssociation string `json:"author_association"`
38
39
} `json:"comment"`
39
40
Repository struct {
40
41
ID int64 `json:"id"`
@@ -1076,9 +1077,10 @@ type IssueCommentPayload struct {
1076
1077
Type string `json:"type"`
1077
1078
SiteAdmin bool `json:"site_admin"`
1078
1079
} `json:"user"`
1079
- CreatedAt time.Time `json:"created_at"`
1080
- UpdatedAt time.Time `json:"updated_at"`
1081
- Body string `json:"body"`
1080
+ CreatedAt time.Time `json:"created_at"`
1081
+ UpdatedAt time.Time `json:"updated_at"`
1082
+ Body string `json:"body"`
1083
+ AuthorAssociation string `json:"author_association"`
1082
1084
} `json:"comment"`
1083
1085
Repository struct {
1084
1086
ID int64 `json:"id"`
@@ -3531,12 +3533,13 @@ type PullRequestReviewCommentPayload struct {
3531
3533
Type string `json:"type"`
3532
3534
SiteAdmin bool `json:"site_admin"`
3533
3535
} `json:"user"`
3534
- Body string `json:"body"`
3535
- CreatedAt time.Time `json:"created_at"`
3536
- UpdatedAt time.Time `json:"updated_at"`
3537
- HTMLURL string `json:"html_url"`
3538
- PullRequestURL string `json:"pull_request_url"`
3539
- Links struct {
3536
+ Body string `json:"body"`
3537
+ AuthorAssociation string `json:"author_association"`
3538
+ CreatedAt time.Time `json:"created_at"`
3539
+ UpdatedAt time.Time `json:"updated_at"`
3540
+ HTMLURL string `json:"html_url"`
3541
+ PullRequestURL string `json:"pull_request_url"`
3542
+ Links struct {
3540
3543
Self struct {
3541
3544
Href string `json:"href"`
3542
3545
} `json:"self"`
0 commit comments