# chat.sprk.convo.removeReaction

> Published by [sprk.so](https://lexicon.garden/identity/did:plc:cveom2iroj3mt747sd4qqnr2)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:cveom2iroj3mt747sd4qqnr2/chat.sprk.convo.removeReaction)
- [Documentation](https://lexicon.garden/lexicon/did:plc:cveom2iroj3mt747sd4qqnr2/chat.sprk.convo.removeReaction/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:cveom2iroj3mt747sd4qqnr2/chat.sprk.convo.removeReaction/examples)

## Definitions

### `chat.sprk.convo.removeReaction`

**Type**: `procedure`

Removes an emoji reaction from a message. Requires authentication. It is idempotent, so multiple calls from the same user with the same emoji result in that reaction not being present, even if it already wasn't.

#### Input

**Encoding**: `application/json`

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

#### Output

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `message` | `ref` → `chat.sprk.convo.defs#messageView` | Yes |  |

#### Errors

- **ReactionMessageDeleted**: Indicates that the message has been deleted and reactions can no longer be added/removed.
- **ReactionInvalidValue**: Indicates the value for the reaction is not acceptable. In general, this means it is not an emoji.

## Raw Schema

```json
{
  "id": "chat.sprk.convo.removeReaction",
  "defs": {
    "main": {
      "type": "procedure",
      "input": {
        "schema": {
          "type": "object",
          "required": [
            "convoId",
            "messageId",
            "value"
          ],
          "properties": {
            "value": {
              "type": "string",
              "maxLength": 64,
              "minLength": 1,
              "maxGraphemes": 1,
              "minGraphemes": 1
            },
            "convoId": {
              "type": "string"
            },
            "messageId": {
              "type": "string"
            }
          }
        },
        "encoding": "application/json"
      },
      "errors": [
        {
          "name": "ReactionMessageDeleted",
          "description": "Indicates that the message has been deleted and reactions can no longer be added/removed."
        },
        {
          "name": "ReactionInvalidValue",
          "description": "Indicates the value for the reaction is not acceptable. In general, this means it is not an emoji."
        }
      ],
      "output": {
        "schema": {
          "type": "object",
          "required": [
            "message"
          ],
          "properties": {
            "message": {
              "ref": "chat.sprk.convo.defs#messageView",
              "type": "ref"
            }
          }
        },
        "encoding": "application/json"
      },
      "description": "Removes an emoji reaction from a message. Requires authentication. It is idempotent, so multiple calls from the same user with the same emoji result in that reaction not being present, even if it already wasn't."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
