Tentacat v2.2.0 Tentacat.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 Sourcecreate(Tentacat.Client.t(), binary(), binary(), binary() | integer(), map()) :: 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
Link to this function
list(client \\ %Client{}, owner, repo, comment_id)
View Sourcelist(Tentacat.Client.t(), binary(), binary(), binary() | integer()) :: 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