Skip to main content

Type Alias: ChatMuteReason

ChatMuteReason = typeof ChatMuteReason[keyof typeof ChatMuteReason]

Defined in: packages/sdk/src/types/generated/chat.ts:249

Why a chat was muted. Closed in code, open in the database.

The column stores the plain string (the family/outcome pattern): a new member needs no migration, and no deployed reader can be broken by one being added — but a mute can only be WRITTEN through UpdateChatMuteRequest, whose field is this enum, so the vocabulary a caller can express is exactly these four. The reason is audit metadata about an operator's decision, never conversation content: it carries no PHI by construction.