# Stream channels

The server assigns channels based on the key's scopes. Your program does not need to subscribe to them separately.

| Channel | Key scope | Events |
|---|---|---|
| `donations:str_<uuid>` | `donations:read` | [donation events](https://developers.donatty.com/en/structures/donation-events.md): `donation.created`, `donation.moderated`, `donation.replayed` |
| `goals:str_<uuid>` | `goals:read` | [goal event](https://developers.donatty.com/en/structures/goal-events.md): `goal.updated` |
| `twitch:str_<uuid>` | `twitch:read` | [Twitch events](https://developers.donatty.com/en/structures/twitch-events.md) `twitch.*` |
| `youtube:str_<uuid>` | `youtube:read` | [YouTube events](https://developers.donatty.com/en/structures/youtube-events.md) `youtube.*` |

`source.status_changed` arrives in the `donations` channel for Donation Alerts, in the `twitch` channel for Twitch and in the `youtube` channel for YouTube: [service events](https://developers.donatty.com/en/structures/service-events.md).

To receive only some of the key's channels, pass `{"channels": ["goals"]}` in the connection data: the values are `donations`, `goals`, `twitch` and `youtube`. In the libraries this is the `data` option, in the HTTP stream request it is the `data` field of the body: `-d '{"data": {"channels": ["goals"]}}'`. No other fields are accepted in the connection data.

## Events

All event types and envelope fields are in the [event envelope](https://developers.donatty.com/en/structures/envelope.md#events) catalog; the `donation.created` example and the meaning of `isTest` are in [donation event formats](https://developers.donatty.com/en/structures/donation-events.md). Repeats and delivery order are in [Repeats and order](https://developers.donatty.com/en/realtime/recovery.md#repeats-and-order), unknown types and fields are in [Compatibility](https://developers.donatty.com/en/changelog.md#compatibility).

## What to show on stream

For which donations to display based on moderation status, see [Moderation and display](https://developers.donatty.com/en/structures/donation.md#moderation-and-display). For when the moderation card appears in your dashboard, see the [Donatty conditions](https://developers.donatty.com/en/conditions/sources.md#donatty).

## Donation Alerts donations

To identify Donation Alerts donations, see [Donation Alerts](https://developers.donatty.com/en/sources.md#donation-alerts). For delivery requirements and possible gaps, see [Donation Alerts conditions](https://developers.donatty.com/en/conditions/sources.md#donation-alerts).

## Twitch events

The fields of each type are in [Twitch event formats](https://developers.donatty.com/en/structures/twitch-events.md) and the [`PlatformEvent`](https://developers.donatty.com/en/structures/platform-event.md#platformevent) structure. For connection requirements, subscription delays and test event availability, see the [Twitch conditions](https://developers.donatty.com/en/conditions/sources.md#twitch). To handle duplicates, see [Repeats and order](https://developers.donatty.com/en/realtime/recovery.md#repeats-and-order).

## YouTube events

The fields of each type, including `accountId`, `actor` and the Super Chat amount of the [`ExactMoney`](https://developers.donatty.com/en/structures.md#exactmoney) type, are in [YouTube event formats](https://developers.donatty.com/en/structures/youtube-events.md) and the [`PlatformEvent`](https://developers.donatty.com/en/structures/platform-event.md#platformevent) structure. For connection requirements, the first poll and event delays, see the [YouTube conditions](https://developers.donatty.com/en/conditions/sources.md#youtube). To handle duplicates, see [Repeats and order](https://developers.donatty.com/en/realtime/recovery.md#repeats-and-order).
