Sha256: 3d180965da3afdd04b2f125102af5f4e2963475bdc83c6fced5270fb6afef6a6

Contents?: true

Size: 1.89 KB

Versions: 235

Compression:

Stored size: 1.89 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, 
  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.
* `cursor` (string): Used for pagination.  When a list request has more records available, cursors are provided in the response headers `X-Files-Cursor-Next` and `X-Files-Cursor-Prev`.  Send one of those cursor value here to resume an existing list from the next available record.  Note: many of our SDKs have iterator methods that will automatically handle cursor-based pagination.
* `per_page` (int64): Number of records to show per page.  (Max: 10,000, 1,000 or less is recommended).
* `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.first

message_comment_reaction.delete
```

### Parameters

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

Version data entries

235 entries across 235 versions & 1 rubygems

Version Path
files.com-1.1.66 docs/message_comment_reaction.md
files.com-1.1.65 docs/message_comment_reaction.md
files.com-1.1.64 docs/message_comment_reaction.md
files.com-1.1.63 docs/message_comment_reaction.md
files.com-1.1.62 docs/message_comment_reaction.md
files.com-1.1.61 docs/message_comment_reaction.md
files.com-1.1.60 docs/message_comment_reaction.md
files.com-1.1.59 docs/message_comment_reaction.md
files.com-1.1.58 docs/message_comment_reaction.md
files.com-1.1.57 docs/message_comment_reaction.md
files.com-1.1.56 docs/message_comment_reaction.md
files.com-1.1.55 docs/message_comment_reaction.md
files.com-1.1.54 docs/message_comment_reaction.md
files.com-1.1.53 docs/message_comment_reaction.md
files.com-1.1.52 docs/message_comment_reaction.md
files.com-1.1.51 docs/message_comment_reaction.md
files.com-1.1.50 docs/message_comment_reaction.md
files.com-1.1.49 docs/message_comment_reaction.md
files.com-1.1.48 docs/message_comment_reaction.md
files.com-1.1.47 docs/message_comment_reaction.md