Sha256: b99b8c59fa0b8e6514ddbd78139c4cb5cab7ce76496fc8d78a4a7f97f93eef7f

Contents?: true

Size: 1.06 KB

Versions: 53

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.find(1)
file_comment_reaction.delete
```

### Parameters

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

Version data entries

53 entries across 53 versions & 1 rubygems

Version Path
files.com-1.0.60 docs/file_comment_reaction.md
files.com-1.0.59 docs/file_comment_reaction.md
files.com-1.0.58 docs/file_comment_reaction.md
files.com-1.0.57 docs/file_comment_reaction.md
files.com-1.0.56 docs/file_comment_reaction.md
files.com-1.0.55 docs/file_comment_reaction.md
files.com-1.0.54 docs/file_comment_reaction.md
files.com-1.0.53 docs/file_comment_reaction.md
files.com-1.0.52 docs/file_comment_reaction.md
files.com-1.0.51 docs/file_comment_reaction.md
files.com-1.0.50 docs/file_comment_reaction.md
files.com-1.0.49 docs/file_comment_reaction.md
files.com-1.0.48 docs/file_comment_reaction.md
files.com-1.0.47 docs/file_comment_reaction.md
files.com-1.0.46 docs/file_comment_reaction.md
files.com-1.0.45 docs/file_comment_reaction.md
files.com-1.0.44 docs/file_comment_reaction.md
files.com-1.0.43 docs/file_comment_reaction.md
files.com-1.0.42 docs/file_comment_reaction.md
files.com-1.0.41 docs/file_comment_reaction.md