# Struct command::channel::Create

> `channel.create`.

`zaun_community_protocol::command::channel::Create` · Struct

```rust
pub struct Create { … }
```

`channel.create`.

SPEC: `history` and `sync_with_parent` are not create fields; they take their defaults
and change through `channel.update`.

## Fields

### `kind: ChannelKind`

v1: `category`, `text`, `announcement`, `voice`; others are `UNSUPPORTED_FEATURE`.

### `name: String`

1–100 scalars.

### `topic: Option<String>`

≤ 1 024 scalars.

### `parent_id: Option<ChannelId>`

A category; categories have none.

### `position: Option<u32>`

Position among siblings.

### `slowmode_s: Option<u32>`

0–21 600 s.

### `overrides: Option<Vec<Override>>`

Initial overrides, checked like `channel.permissions.update`.

### `retention: Option<Retention>`

Retention.

### `typing: Option<TypingMode>`

Who sees typing; absent: `named`.

### `user_limit: Option<u32>`

Voice channels only: the most participants, 1–99 (also capped by the host's
`mesh_max`); absent = the host's cap.

## Trait implementations

`Body`, `Clone`, `Debug`, `Deserialize<'de>`, `Eq`, `PartialEq`, `Serialize`, `StructuralPartialEq`, `Validate`

[Full rustdoc page](/docs/api/rust/zaun-community-protocol/zaun_community_protocol/command/channel/struct.Create.html)
