Skip to main content

Module model

Module model 

Source
Expand description

Enumerations shared by permissions, wire bodies and the engine.

JSON form (specification §7): {"t":"<variant>"} for unit variants and {"t":"<variant>","c":<content>} otherwise, snake_case names.

Enums§

ChannelKind
The kind of a channel (permissions §1.3, specification §8.2).
DistributionMode
How accepted channel-stream events travel (ADR-0009, specification §9.1, Appendix A).
HistoryAccess
How much channel history a member may read (ADR-0014, specification §8.2, §10.6). Stamped on each message at send time.
MembershipState
A member’s lifecycle state (specification §6.4, ADR-0016). Independent of roles.
TypingMode
Who sees that someone is typing in a channel (typing, specification §8.2, §10.5). A plain JSON string, as the specification writes it.