Skip to content

Struct command::object::Channel

zaun_community_protocol::command::object::Channel · Struct

pub struct Channel { … }

A channel or category as members see it.

Host-assigned id.

The kind.

1–100 scalars.

≤ 1 024 scalars.

The parent category; categories have none.

Position among siblings.

0–21 600 s.

The locked flag (permissions the protocol, step 7d).

Who sees typing in the channel; absent means named, and named is written absent.

Retention settings.

Whether the effective overrides are the parent’s (permissions the protocol).

History access policy (ADR-0014).

Incremented on each history change.

Host-chosen distribution mode; clients never send it.

The channel’s own overrides.

SPEC: shown only as {} in the protocol and never defined; kept as an opaque object.

sync.snapshot only: the latest channel_seq.

Voice channels: the most participants, when limited.

voice_participants: Option<Vec<VoiceParticipant>>

Section titled “voice_participants: Option<Vec<VoiceParticipant>>”

sync.snapshot of a voice channel: who is in it now, without key packages.

A dm channel’s two members, sorted by id bytes; absent otherwise.

Clone, Debug, Deserialize<'de>, PartialEq, Serialize, StructuralPartialEq

Full rustdoc page