---
url: https://docs.moqtail.dev/ts/api/client/type-aliases/DataHeaderEvent.md
---
# Type Alias: DataHeaderEvent

> **DataHeaderEvent** = [`DataEventBase`](DataEventBase.md) & `object`

A data stream opened: what its header says.

## Type Declaration

### fullTrackName?

> `optional` **fullTrackName?**: [`FullTrackName`](../../model/classes/FullTrackName.md)

The track the stream belongs to, when the client knows it at header time.

### groupId?

> `optional` **groupId?**: `bigint`

Subgroup streams only.

### kind

> **kind**: `"header"`

### requestId?

> `optional` **requestId?**: `bigint`

Fetch streams only.

### stream

> **stream**: `"subgroup"` | `"fetch"`

### subgroupId?

> `optional` **subgroupId?**: `bigint`

Subgroup streams only; unknown here when the header defers it to the first Object ID.

### trackAlias?

> `optional` **trackAlias?**: `bigint`

Subgroup streams only.
