# app.didpic.chat.getMessageReactions

> Published by [lexicons.didpic.app](https://lexicon.garden/identity/did:plc:an2jtp4jgkkbtmwfzhpbxawd)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:an2jtp4jgkkbtmwfzhpbxawd/app.didpic.chat.getMessageReactions)
- [Documentation](https://lexicon.garden/lexicon/did:plc:an2jtp4jgkkbtmwfzhpbxawd/app.didpic.chat.getMessageReactions/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:an2jtp4jgkkbtmwfzhpbxawd/app.didpic.chat.getMessageReactions/examples)

## Definitions

### `app.didpic.chat.getMessageReactions`

**Type**: `query`

List who reacted to a message, and with what.

#### Parameters

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `messageId` | `string` | Yes |  |

#### Output

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `reactions` | `array` | Yes |  |

#### Errors

- **NotFound**

### `app.didpic.chat.getMessageReactions#reactionEntry`

**Type**: `object`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `actor` | `ref` → `app.didpic.actor.defs#profileBasic` | Yes |  |
| `reaction` | `string` | Yes |  |

## Raw Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "List who reacted to a message, and with what.",
      "errors": [
        {
          "name": "NotFound"
        }
      ],
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "reactions": {
              "items": {
                "ref": "#reactionEntry",
                "type": "ref"
              },
              "type": "array"
            }
          },
          "required": [
            "reactions"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "messageId": {
            "type": "string"
          }
        },
        "required": [
          "messageId"
        ],
        "type": "params"
      },
      "type": "query"
    },
    "reactionEntry": {
      "properties": {
        "actor": {
          "ref": "app.didpic.actor.defs#profileBasic",
          "type": "ref"
        },
        "reaction": {
          "type": "string"
        }
      },
      "required": [
        "reaction",
        "actor"
      ],
      "type": "object"
    }
  },
  "id": "app.didpic.chat.getMessageReactions",
  "lexicon": 1
}
```
