# Inbox

LINE chats, replies, broadcasts and the inbox webhooks.

LINE chats between your Official Account and a user arrive in the inbox like any other channel. Group chats are not supported yet.

## Direct messages

| Feature | Supported |
|---------|-----------|
| List conversations | <Yes /> |
| Fetch messages | <Yes /> |
| Receive text, images, video, audio, files | <Yes /> |
| Receive stickers and locations | <Yes /> |
| Receive postbacks (rich menu and button taps) | <Yes /> |
| Send text and media | <Yes /> |
| Group chats | <No /> |

Images, video, audio and files are copied to Zernio's storage when they arrive, so they stay viewable after LINE's own content links expire.

The [Messages API](/messages/list-inbox-conversations) has every endpoint. Filter with `platform=line`.

## Reply tokens and push

Every message a user sends carries a reply token that LINE accepts for about a minute.

- A reply sent while the token is valid uses it. Replies do not count toward the account's message quota.
- A reply sent after that goes out as a push message, which counts toward the quota.

You send the same call either way; Zernio picks the method.

## Broadcasts and automations

LINE contacts can be targeted by [broadcasts](/broadcasts/create-broadcast) with `platform: "line"`. Each recipient is a push message on LINE's side.

Keyword replies and other automations run on LINE conversations as on every channel.

## Webhooks

| Event | When it fires |
|-------|---------------|
| `message.received` | A user sends a message to the account |
| `message.sent` | An outgoing message is sent |
| `conversation.started` | A user writes to the account for the first time |

The [webhooks page](/webhooks) has the payloads.