Tentacat v0.8.0 Tentacat.Issues.Comments.Reactions

Summary

Functions

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

Specs

create(binary, binary, binary | integer, Keyword.t | map, Tentacat.Client.t) :: 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

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

Specs

list(binary, binary, binary | integer, Tentacat.Client.t) :: 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