Tentacat v0.8.0 Tentacat.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 a comment

Reaction Request body example:

%{ content: "heart" }

Example

Tentacat.Comments.Reactions.create “elixir-lang”, “elixir”, “345434” More info at: https://developer.github.com/v3/reactions/#create-reaction-for-a-commit-comment

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

Specs

list(binary, binary, binary | integer, Tentacat.Client.t) :: Tentacat.response

List the reactions on a comment

Example

Tentacat.Comments.Reactions.list “elixir-lang” , “elixir”, “345434”

More info at: https://developer.github.com/v3/reactions/#list-reactions-for-a-commit-comment