Sha256: b2ca8dd1f6a640990fbc5ad0651a698273028d5b0a22d342c763f6312df9cd58

Contents?: true

Size: 1.08 KB

Versions: 153

Compression:

Stored size: 1.08 KB

Contents

# FileCommentReaction

## Example FileCommentReaction Object

```
{
  "id": 1,
  "emoji": "👍"
}
```

* `id` (int64): Reaction ID
* `emoji` (string): Emoji used in the reaction.
* `user_id` (int64): User ID.  Provide a value of `0` to operate the current session's user.
* `file_comment_id` (int64): ID of file comment to attach reaction to.


---

## Create File Comment Reaction

```
Files::FileCommentReaction.create(
  user_id: 1, 
  file_comment_id: 1, 
  emoji: "emoji"
)
```

### Parameters

* `user_id` (int64): User ID.  Provide a value of `0` to operate the current session's user.
* `file_comment_id` (int64): Required - ID of file comment to attach reaction to.
* `emoji` (string): Required - Emoji to react with.


---

## Delete File Comment Reaction

```
Files::FileCommentReaction.delete(id)
```

### Parameters

* `id` (int64): Required - File Comment Reaction ID.


---

## Delete File Comment Reaction

```
file_comment_reaction = Files::FileCommentReaction.list_for(path).first

file_comment_reaction.delete
```

### Parameters

* `id` (int64): Required - File Comment Reaction ID.

Version data entries

153 entries across 153 versions & 1 rubygems

Version Path
files.com-1.0.212 docs/file_comment_reaction.md
files.com-1.0.211 docs/file_comment_reaction.md
files.com-1.0.210 docs/file_comment_reaction.md
files.com-1.0.209 docs/file_comment_reaction.md
files.com-1.0.208 docs/file_comment_reaction.md
files.com-1.0.207 docs/file_comment_reaction.md
files.com-1.0.206 docs/file_comment_reaction.md
files.com-1.0.205 docs/file_comment_reaction.md
files.com-1.0.204 docs/file_comment_reaction.md
files.com-1.0.203 docs/file_comment_reaction.md
files.com-1.0.202 docs/file_comment_reaction.md
files.com-1.0.201 docs/file_comment_reaction.md
files.com-1.0.200 docs/file_comment_reaction.md
files.com-1.0.199 docs/file_comment_reaction.md
files.com-1.0.198 docs/file_comment_reaction.md
files.com-1.0.197 docs/file_comment_reaction.md
files.com-1.0.196 docs/file_comment_reaction.md
files.com-1.0.195 docs/file_comment_reaction.md
files.com-1.0.194 docs/file_comment_reaction.md
files.com-1.0.193 docs/file_comment_reaction.md