View Source Tentacat.Issues.Comments.Reactions (Tentacat v2.5.0)
Summary
Functions
Create a reaction on an issue comment.
Delete a reaction on an issue comment.
List the reactions on an issue comment.
Functions
@spec create(Tentacat.Client.t(), binary(), binary(), binary() | integer(), map()) :: Tentacat.response()
Create a reaction on an issue comment.
Reaction Request body example:
%{
content: "heart"
}
## Example
Tentacat.Issues.Comments.Reactions.create "elixir-lang", "elixir", "3", %{ content: "heart" }, client
More info at: https://developer.github.com/v3/reactions/#create-reaction-for-an-issue-comment
@spec delete(Tentacat.Client.t(), binary(), binary(), binary() | integer(), binary()) :: Tentacat.response()
Delete a reaction on an issue comment.
Example
Tentacat.Issues.Comments.Reactions.delete "elixir-lang", "elixir", "3", "4", client
More info at: https://developer.github.com/v3/reactions/#delete-an-issue-comment-reaction
@spec list(Tentacat.Client.t(), binary(), binary(), binary() | integer()) :: Tentacat.response()
List the reactions on an issue comment.
Example
Tentacat.Issues.Comments.Reactions.list "elixir-lang" , "elixir", "3"
More info at: https://developer.github.com/v3/reactions/#list-reactions-for-an-issue-comment