Function github_rest::methods::react_to_commit_comment
source · pub async fn react_to_commit_comment<T>(
client: &T,
owner: impl Into<String>,
repo: impl Into<String>,
comment_id: i64,
reaction: Reaction
) -> Result<CommitCommentReactionCreated, GithubRestError>where
T: Requester,
Expand description
- tags reactions
- post
/repos/{owner}/{repo}/comments/{comment_id}/reactions
- docs https://docs.github.com/rest/reference/reactions#create-reaction-for-a-commit-comment
Create reaction for a commit comment
Create a reaction to a commit comment. A response with an HTTP 200
status means that you already added the reaction type to this commit comment.