ChatSurface
Auto-generated API reference for ChatSurface.
Type Alias: ChatSurface
ChatSurface =
"slack"|"teams"|"discord"|"whatsapp"|string&object
Defined in: chat-trigger.ts:29
Surface identifier. The four named surfaces preserve autocomplete in
editors; (string & \{\}) keeps the type extensible for adapters
landing later (Mattermost, Telegram, Webex). Caveat: a switch (event.surface) will not be exhaustive β TS cannot warn about
missing branches when the union is open. Use a default branch.