# Chat from every platform

Source: https://docs.lightair.app/desktop/chat-and-widgets/chat

> Read every platform's chat in one Chat panel, reply and send to one platform or all, and delete messages, time out or ban viewers from Lightair.

In short:
- Type your channel in a destination's **Chat** field in **Outputs**, and its chat shows in **Window › Chat**. Reading needs no sign-in.
- To send, sign in once on the destination's **Sending** row, then type in the box at the bottom of the Chat panel.
- Hover a message to feature it on stream, reply, delete it, time the viewer out for 10 minutes or ban them.

In the app: Window › Chat; Window › Outputs › a destination › Chat; Settings › Connections › Official sign-in

The **Chat** panel puts the chat of every channel you stream to in one feed, in the order the
messages arrive. Each message shows the platform's icon, the viewer's role (**HOST**, **MOD**,
**VIP** or **SUB**), their name in their own colour, and the message with its emotes. Paid
messages, memberships and raids stand out from ordinary messages, and a message a moderator
deleted stays in the feed, greyed.

On Twitch, 7TV, FrankerFaceZ and BetterTTV emotes are drawn too, from their global sets and the
channel's own.

## Connect a channel's chat

Chat is read from the channel named in a destination's **Chat** field. Lightair reads it without
signing in.

1. Open **Window › Outputs** and click the destination, or add one.
2. Under **Connection**, type the channel in **Chat**: for example your Twitch login, your YouTube
   @handle or a video link, or your TikTok @username. The field's hint says what that platform
   takes.
3. Click **Save**, then open **Window › Chat**.

If you leave **Chat** empty and you're signed in to that platform under **Settings › Connections
› Official sign-in**, Lightair reads the signed-in account's channel.

Lightair reads chat from Twitch, YouTube, Kick, TikTok, CHZZK, SOOP, DouYu, TwitCasting,
SHOWROOM, Bilibili, Niconico and Huya. Until a channel is set, the panel says **No chat yet**.

:::note
YouTube only shows the chat of a stream that's public and started. A **Private** stream can't be
read. An **Unlisted** one can, if you put its own link (`youtube.com/live/…`) in the **Chat**
field.
:::

## Read the feed

The bar at the top has a tab for **All** and one for each channel, with its state:

| State | Meaning |
|---|---|
| **Live chat** | Connected; messages are arriving. |
| **Not live** | The channel isn't live, so there's no chat to read. |
| **Connecting…** | Lightair is reaching the chat. |
| **Can't read** | Something went wrong. Hover the tab to see why. |

Click a channel's tab to show only that platform's messages; click **All** to see every one
again. The panel keeps the latest 300 messages.

## Send a message

Lightair sends as you, on the platform's own page, so you sign in once per platform in a Lightair
window. It never sees your password.

1. In **Window › Outputs**, click the destination and find the **Sending** row.
2. Click **Sign in to send**. The platform's sign-in page opens in a Lightair window.
3. Sign in, then close the window. The row says **Signed in**.

If the platform's page wants a passkey that the Lightair window can't use, click **Use my
browser's** and pick a browser where you're already signed in.

Then, in the Chat panel:

1. Pick where to send in the menu beside the text box: **All** (every chat you're signed in to)
   or one platform.
2. Type in **Send a message…** and press `↩` or `Enter` on Windows.

If a message doesn't go through, the reason shows above the text box.

You can send to Twitch, YouTube, Kick and TikTok. Automations and replies use the same sign-in.

## Act on a message

Hover a message to see its buttons:

| Button | What it does |
|---|---|
| **Feature on stream** | Shows the message in the **Featured message** widget. Featuring it again shows it again. |
| **Reply** | Replies to that message. A bar above the text box says who you're replying to; click **×** to cancel. |
| **Delete message** | Removes the message from the platform's chat. |
| **Time out for 10 minutes** | Stops the viewer chatting for 10 minutes. |
| **Ban** | Bans the viewer. Click it twice: the first click turns it red and asks **Click again to ban**. |

You can reply on platforms you've signed in to for sending. Delete, time out and ban work on
Twitch and Kick through the **Sending** sign-in, and on YouTube when you're signed in under
**Settings › Connections › Official sign-in**. You need to be the channel's owner or one of its
moderators.

## Put chat on stream

The Chat panel is for you. To show chat to your viewers, add the **Chat box** widget: it shows
every platform's chat on the canvas, with its own filters and style. See
[Widgets](/desktop/chat-and-widgets/widgets).

## From the command line

Send a message to every connected chat with
[chat.send](/developers/remote-api/chat.send):

```sh
lightair call chat.send '{"text": "Back in five!"}'
```

Add `"platform": "twitch"` to send to one platform only.

## Related

- [Activity](/desktop/chat-and-widgets/activity)
- [Widgets](/desktop/chat-and-widgets/widgets)
- [Destinations](/desktop/go-live/destinations)
