@@ -28,13 +28,14 @@ type CommitCommentPayload struct {
2828 Type string `json:"type"`
2929 SiteAdmin bool `json:"site_admin"`
3030 } `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"`
3839 } `json:"comment"`
3940 Repository struct {
4041 ID int64 `json:"id"`
@@ -1076,9 +1077,10 @@ type IssueCommentPayload struct {
10761077 Type string `json:"type"`
10771078 SiteAdmin bool `json:"site_admin"`
10781079 } `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"`
10821084 } `json:"comment"`
10831085 Repository struct {
10841086 ID int64 `json:"id"`
@@ -3531,12 +3533,13 @@ type PullRequestReviewCommentPayload struct {
35313533 Type string `json:"type"`
35323534 SiteAdmin bool `json:"site_admin"`
35333535 } `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 {
35403543 Self struct {
35413544 Href string `json:"href"`
35423545 } `json:"self"`
0 commit comments