View Source Tentacat.Pulls.Comments.Reactions (Tentacat v2.4.0)

Summary

Functions

Link to this function

create(client, owner, repo, comment_id, body)

View Source
@spec create(Tentacat.Client.t(), binary(), binary(), binary() | integer(), map()) ::
  Tentacat.response()

Create a reaction on an issue

Reaction Request body example:

%{ content: "heart" }

Example

Tentacat.Pulls.Comments.Reactions.create client, "elixir-lang", "elixir", "3"

More info at: https://developer.github.com/v3/reactions/#create-reaction-for-a-pull-request-review-comment

Link to this function

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

View Source

List the reactions on a issue

Example

Tentacat.Pulls.Comments.Reactions.list "elixir-lang" , "elixir", "3"

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