Skip to content

Commit 3005fb6

Browse files
committed
add CommentReaction types
1 parent 6b04d0a commit 3005fb6

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

modules/structs/issue_comment.go

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,11 @@ type EditIssueCommentOption struct {
3535
// required: true
3636
Body string `json:"body" binding:"Required"`
3737
}
38+
39+
type CommentReaction struct {
40+
Reaction string `json:"reaction""`
41+
Users []*string `json:"users"`
42+
Count int64 `json:"count"`
43+
}
44+
45+
type CommentReactionList []*CommentReaction

0 commit comments

Comments
 (0)