Skip to content

Type Alias: DmPolicyMode

@kortexya/reasoninglayer


@kortexya/reasoninglayer / DmPolicyMode

DmPolicyMode = "open" | "pairing" | "closed"

Defined in: src/types/pairing.ts:22

The DM policy mode of a channel.

  • open — every sender’s direct message is admitted. A channel with no policy set is open.
  • pairing — an unknown sender is refused and files one pending pairing request; an approved or allowlisted sender is admitted.
  • closed — only allowlisted senders are admitted.

Group messages are not affected by the policy.