Sha256: 762929b6b1fcabb92c10d37c4bee63a882aec3197f30476676817987ee753b0c

Contents?: true

Size: 1.87 KB

Versions: 17

Compression:

Stored size: 1.87 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.
* `cursor` (string): Send cursor to resume an existing list from the point at which you left off.  Get a cursor from an existing list via the X-Files-Cursor-Next header.
* `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

17 entries across 17 versions & 1 rubygems

Version Path
files.com-1.0.121 docs/message_comment_reaction.md
files.com-1.0.120 docs/message_comment_reaction.md
files.com-1.0.119 docs/message_comment_reaction.md
files.com-1.0.118 docs/message_comment_reaction.md
files.com-1.0.117 docs/message_comment_reaction.md
files.com-1.0.116 docs/message_comment_reaction.md
files.com-1.0.115 docs/message_comment_reaction.md
files.com-1.0.114 docs/message_comment_reaction.md
files.com-1.0.113 docs/message_comment_reaction.md
files.com-1.0.112 docs/message_comment_reaction.md
files.com-1.0.111 docs/message_comment_reaction.md
files.com-1.0.110 docs/message_comment_reaction.md
files.com-1.0.109 docs/message_comment_reaction.md
files.com-1.0.108 docs/message_comment_reaction.md
files.com-1.0.107 docs/message_comment_reaction.md
files.com-1.0.106 docs/message_comment_reaction.md
files.com-1.0.105 docs/message_comment_reaction.md