# line read


Mark a chat as read. Others in the chat will see "Read". CHAT is a full ID or unique exact name. Without --message, marks read up to the newest message from someone else among the latest 50. No other command marks messages read.

## Usage

```sh
line read CHAT [--message ID] [options]
```

## Target

| Option | Description |
| --- | --- |
| `--message ID` | mark read up to this message from someone else (lookup: up to 10 pages / 1000 records / 30s) |

## Output

| Option | Description |
| --- | --- |
| `--json` | write JSON |
| `--show-ids` | show the message ID in human output |

## Request

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

## Examples

```sh
line read "Alice"
line read CHAT_ID --message MESSAGE_ID --json
```


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