Struct command::channel::Create
zaun_community_protocol::command::channel::Create · Struct
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
Section titled “Fields”kind: ChannelKind
Section titled “kind: ChannelKind”v1: category, text, announcement, voice; others are UNSUPPORTED_FEATURE.
name: String
Section titled “name: String”1–100 scalars.
topic: Option<String>
Section titled “topic: Option<String>”≤ 1 024 scalars.
parent_id: Option<ChannelId>
Section titled “parent_id: Option<ChannelId>”A category; categories have none.
position: Option<u32>
Section titled “position: Option<u32>”Position among siblings.
slowmode_s: Option<u32>
Section titled “slowmode_s: Option<u32>”0–21 600 s.
overrides: Option<Vec<Override>>
Section titled “overrides: Option<Vec<Override>>”Initial overrides, checked like channel.permissions.update.
retention: Option<Retention>
Section titled “retention: Option<Retention>”Retention.
typing: Option<TypingMode>
Section titled “typing: Option<TypingMode>”Who sees typing; absent: named.
user_limit: Option<u32>
Section titled “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
Section titled “Trait implementations”Body, Clone, Debug, Deserialize<'de>, Eq, PartialEq, Serialize, StructuralPartialEq, Validate