Sha256: 12c15b7fc186c63d2f6ba5abbda85da2770fb50476a0f9207baec25cf72dadd2

Contents?: true

Size: 1.88 KB

Versions: 74

Compression:

Stored size: 1.88 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, 
  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.find(id)

message_comment_reaction.delete
```

### Parameters

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

Version data entries

74 entries across 74 versions & 1 rubygems

Version Path
files.com-1.1.184 docs/message_comment_reaction.md
files.com-1.1.183 docs/message_comment_reaction.md
files.com-1.1.182 docs/message_comment_reaction.md
files.com-1.1.181 docs/message_comment_reaction.md
files.com-1.1.178 docs/message_comment_reaction.md
files.com-1.1.177 docs/message_comment_reaction.md
files.com-1.1.176 docs/message_comment_reaction.md
files.com-1.1.175 docs/message_comment_reaction.md
files.com-1.1.174 docs/message_comment_reaction.md
files.com-1.1.173 docs/message_comment_reaction.md
files.com-1.1.172 docs/message_comment_reaction.md
files.com-1.1.171 docs/message_comment_reaction.md
files.com-1.1.170 docs/message_comment_reaction.md
files.com-1.1.169 docs/message_comment_reaction.md
files.com-1.1.168 docs/message_comment_reaction.md
files.com-1.1.167 docs/message_comment_reaction.md
files.com-1.1.166 docs/message_comment_reaction.md
files.com-1.1.165 docs/message_comment_reaction.md
files.com-1.1.164 docs/message_comment_reaction.md
files.com-1.1.163 docs/message_comment_reaction.md