Interface: ChatFormData
Defined in: packages/sdk/src/types/chat-types.ts:98
Properties
agentEnabled?
optionalagentEnabled:boolean
Defined in: packages/sdk/src/types/chat-types.ts:127
Deprecated
Send assistantKind. Accepted as an alias: false ⇒ 'human'.
agentMemberId?
optionalagentMemberId:number|null
Defined in: packages/sdk/src/types/chat-types.ts:137
Deprecated
Use assistantMemberId. Kept as a client-side alias.
assistantChatModelConfig?
optionalassistantChatModelConfig:Record<string,unknown> |null
Defined in: packages/sdk/src/types/chat-types.ts:133
assistantChatModelId?
optionalassistantChatModelId:string|null
Defined in: packages/sdk/src/types/chat-types.ts:132
assistantKind?
optionalassistantKind:"ai"|"human"
Defined in: packages/sdk/src/types/chat-types.ts:119
Who answers this chat. The explicit form of the intent agentEnabled used
to encode: a boolean cannot tell "this chat has no AI at all" (dm) apart
from "this chat's AI is suspended while a person takes a shift"
(assignment answered by a human), and the server derives paused from
exactly that difference. Prefer this over agentEnabled.
assistantMemberId?
optionalassistantMemberId:number|null
Defined in: packages/sdk/src/types/chat-types.ts:129
The member acting as assistant. Set iff assistantKind is 'human'.
assistantName?
optionalassistantName:string|null
Defined in: packages/sdk/src/types/chat-types.ts:131
Per-chat display-name fork; null/omitted uses the Workflow revision.
assistantRealtimeModelConfig?
optionalassistantRealtimeModelConfig:Record<string,unknown> |null
Defined in: packages/sdk/src/types/chat-types.ts:135
assistantRealtimeModelId?
optionalassistantRealtimeModelId:string|null
Defined in: packages/sdk/src/types/chat-types.ts:134
channel
channel:
string
Defined in: packages/sdk/src/types/chat-types.ts:101
chatType?
optionalchatType:string
Defined in: packages/sdk/src/types/chat-types.ts:102
id?
optionalid:number
Defined in: packages/sdk/src/types/chat-types.ts:99
inboxId?
optionalinboxId:number|null
Defined in: packages/sdk/src/types/chat-types.ts:108
initialMessage?
optionalinitialMessage:string|null
Defined in: packages/sdk/src/types/chat-types.ts:148
Optional human-typed initial SMS/email message body. Treated as PHI: never log it client-side beyond the textarea state. Empty/whitespace-only values are dropped before sending.
isTest?
optionalisTest:boolean
Defined in: packages/sdk/src/types/chat-types.ts:142
labelIds?
optionallabelIds:number[]
Defined in: packages/sdk/src/types/chat-types.ts:141
memberId?
optionalmemberId:number|null
Defined in: packages/sdk/src/types/chat-types.ts:110
muted?
optionalmuted:boolean
Defined in: packages/sdk/src/types/chat-types.ts:139
needsResponse?
optionalneedsResponse:boolean
Defined in: packages/sdk/src/types/chat-types.ts:140
participants?
optionalparticipants:ChatParticipantFormData[]
Defined in: packages/sdk/src/types/chat-types.ts:111
paused?
optionalpaused:boolean
Defined in: packages/sdk/src/types/chat-types.ts:138
phoneNumberId?
optionalphoneNumberId:number|null
Defined in: packages/sdk/src/types/chat-types.ts:107
siteId?
optionalsiteId:number|null
Defined in: packages/sdk/src/types/chat-types.ts:109
title?
optionaltitle:string
Defined in: packages/sdk/src/types/chat-types.ts:100
userMemberId?
optionaluserMemberId:number|null
Defined in: packages/sdk/src/types/chat-types.ts:125
The chat's user participant, stated explicitly. memberId remains the
wire field the server reads; this names the same member without the
"…unless it's the caller" caveat.
workflowId?
optionalworkflowId:number|null
Defined in: packages/sdk/src/types/chat-types.ts:103
workflowRevisionId?
optionalworkflowRevisionId:number|null
Defined in: packages/sdk/src/types/chat-types.ts:105
workflowRevisionUuid?
optionalworkflowRevisionUuid:string|null
Defined in: packages/sdk/src/types/chat-types.ts:106
workflowUuid?
optionalworkflowUuid:string|null
Defined in: packages/sdk/src/types/chat-types.ts:104