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.104 docs/message_comment_reaction.md
files.com-1.0.103 docs/message_comment_reaction.md
files.com-1.0.102 docs/message_comment_reaction.md
files.com-1.0.101 docs/message_comment_reaction.md
files.com-1.0.100 docs/message_comment_reaction.md
files.com-1.0.99 docs/message_comment_reaction.md
files.com-1.0.98 docs/message_comment_reaction.md
files.com-1.0.97 docs/message_comment_reaction.md
files.com-1.0.96 docs/message_comment_reaction.md
files.com-1.0.95 docs/message_comment_reaction.md
files.com-1.0.94 docs/message_comment_reaction.md
files.com-1.0.93 docs/message_comment_reaction.md
files.com-1.0.92 docs/message_comment_reaction.md
files.com-1.0.91 docs/message_comment_reaction.md
files.com-1.0.90 docs/message_comment_reaction.md
files.com-1.0.89 docs/message_comment_reaction.md
files.com-1.0.88 docs/message_comment_reaction.md
files.com-1.0.87 docs/message_comment_reaction.md
files.com-1.0.86 docs/message_comment_reaction.md
files.com-1.0.85 docs/message_comment_reaction.md