Sha256: 2458a2f8ace704c10dc94dbf7a914bb31d7792bf98126e51677170c2e87dadad

Contents?: true

Size: 1.06 KB

Versions: 451

Compression:

Stored size: 1.06 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.new

file_comment_reaction.delete
```

### Parameters

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

Version data entries

451 entries across 451 versions & 1 rubygems

Version Path
files.com-1.1.147 docs/file_comment_reaction.md
files.com-1.1.146 docs/file_comment_reaction.md
files.com-1.1.145 docs/file_comment_reaction.md
files.com-1.1.144 docs/file_comment_reaction.md
files.com-1.1.143 docs/file_comment_reaction.md
files.com-1.1.142 docs/file_comment_reaction.md
files.com-1.1.141 docs/file_comment_reaction.md
files.com-1.1.140 docs/file_comment_reaction.md
files.com-1.1.139 docs/file_comment_reaction.md
files.com-1.1.138 docs/file_comment_reaction.md
files.com-1.1.137 docs/file_comment_reaction.md
files.com-1.1.136 docs/file_comment_reaction.md
files.com-1.1.135 docs/file_comment_reaction.md
files.com-1.1.134 docs/file_comment_reaction.md
files.com-1.1.133 docs/file_comment_reaction.md
files.com-1.1.132 docs/file_comment_reaction.md
files.com-1.1.131 docs/file_comment_reaction.md
files.com-1.1.130 docs/file_comment_reaction.md
files.com-1.1.129 docs/file_comment_reaction.md
files.com-1.1.128 docs/file_comment_reaction.md