# line chats


Show 20 active conversations, newest first. Search also includes inactive chats. JSON output includes every chat unless you set a limit.

## Usage

```sh
line chats [options]
```

## Filter

| Option | Description |
| --- | --- |
| `--search NAME` | find chat names containing this text (case-insensitive) |
| `--unread` | only chats with unread messages (reported count above zero; unknown counts excluded) |
| `--all` | include inactive conversations |

## Output

| Option | Description |
| --- | --- |
| `--limit N` | maximum rows; 0 shows all (default 20) |
| `--show-ids` | show full IDs below names |
| `--details` | include names, activity, and unread counts in a versioned envelope (requires --json) |
| `--json` | write JSON (all chats, unlimited by default) |

## Request

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

## Examples

```sh
line chats
line chats --unread
line chats --search "Family" --show-ids
```


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