Tentacat v2.2.0 Tentacat.Issues.Comments.Reactions View Source

Link to this section Summary

Link to this section Functions

Link to this function

create(client \\ %Client{}, owner, repo, comment_id, body)

View Source

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

Link to this function

delete(client \\ %Client{}, owner, repo, comment_id, reaction_id)

View Source

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

Link to this function

list(client \\ %Client{}, owner, repo, comment_id)

View Source

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