# line react


Add or remove your reaction on a message. The message must be in CHAT's recent history (up to 10 pages). Each change is attempted once.

## Usage

```sh
line react CHAT --message ID (--reaction REACTION | --remove) [options]
```

## Target

| Option | Description |
| --- | --- |
| `--message ID` | target message ID (lookup: up to 10 pages / 1000 records / 30s) |

## Reaction

| Option | Description |
| --- | --- |
| `--reaction REACTION` | like, love, laugh, surprise, sad, angry, or matching emoji |
| `--remove` | remove your reaction |

## Output

| Option | Description |
| --- | --- |
| `--json` | write JSON |

## Request

| Option | Description |
| --- | --- |
| `--timeout DURATION` | command deadline including preparation, e.g. 30s; 0 disables it |

## Examples

```sh
line react "Alice" --message MESSAGE_ID --reaction love
line react "Alice" --message MESSAGE_ID --remove
```


---
Source: https://kongesque.github.io/line-cli/reference/commands/react/
