Sha256: 6c9470a6720efe694b527151e9617ea128d04dbea0020f9d48bc0e69c66360ca

Contents?: true

Size: 1.7 KB

Versions: 45

Compression:

Stored size: 1.7 KB

Contents

# MessageCommentReaction

## Example MessageCommentReaction 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.


---

## List Message Comment Reactions

```
Files::MessageCommentReaction.list(
  user_id: 1, 
  page: 1, 
  per_page: 1, 
  message_comment_id: 1
)
```

### Parameters

* `user_id` (int64): User ID.  Provide a value of `0` to operate the current session's user.
* `page` (int64): Current page number.
* `per_page` (int64): Number of records to show per page.  (Max: 10,000, 1,000 or less is recommended).
* `action` (string): Deprecated: If set to `count` returns a count of matching records rather than the records themselves.
* `message_comment_id` (int64): Required - Message comment to return reactions for.


---

## Show Message Comment Reaction

```
Files::MessageCommentReaction.find(id)
```

### Parameters

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


---

## Create Message Comment Reaction

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

### Parameters

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


---

## Delete Message Comment Reaction

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

### Parameters

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


---

## Delete Message Comment Reaction

```
message_comment_reaction = Files::MessageCommentReaction.list_for(path).first

message_comment_reaction.delete
```

### Parameters

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

Version data entries

45 entries across 45 versions & 1 rubygems

Version Path
files.com-1.0.84 docs/message_comment_reaction.md
files.com-1.0.83 docs/message_comment_reaction.md
files.com-1.0.82 docs/message_comment_reaction.md
files.com-1.0.81 docs/message_comment_reaction.md
files.com-1.0.80 docs/message_comment_reaction.md
files.com-1.0.79 docs/message_comment_reaction.md
files.com-1.0.78 docs/message_comment_reaction.md
files.com-1.0.77 docs/message_comment_reaction.md
files.com-1.0.76 docs/message_comment_reaction.md
files.com-1.0.75 docs/message_comment_reaction.md
files.com-1.0.74 docs/message_comment_reaction.md
files.com-1.0.73 docs/message_comment_reaction.md
files.com-1.0.1 docs/message_comment_reaction.md
files.com-1.0.72 docs/message_comment_reaction.md
files.com-1.0.71 docs/message_comment_reaction.md
files.com-1.0.70 docs/message_comment_reaction.md
files.com-1.0.69 docs/message_comment_reaction.md
files.com-1.0.68 docs/message_comment_reaction.md
files.com-1.0.67 docs/message_comment_reaction.md
files.com-1.0.66 docs/message_comment_reaction.md