Skip to main content

ChatDetailResponse

@gravity-rail/sdk


@gravity-rail/sdk / ChatDetailResponse

Interface: ChatDetailResponse

The single-Chat read (GET /chats/\{chat_id}, /chats/by-uuid/\{uuid}).

ChatResponse plus fields that cost a query per Chat and so stay off the list.

Properties​

activeInteractionMode?​

optional activeInteractionMode: ChatDetailResponseActiveInteractionMode


archived​

archived: boolean


assignmentId​

assignmentId: number | null


canSendAsAssistant​

canSendAsAssistant: boolean


channel​

channel: string


chatType​

chatType: string


createdAt​

createdAt: string


creationSource?​

optional creationSource: ChatDetailResponseCreationSource


currentTaskName?​

optional currentTaskName: string | null


direction?​

optional direction: ChatDetailResponseDirection


folderId​

folderId: number | null


fromMessageId​

fromMessageId: number | null


hasRealtimeInteraction?​

optional hasRealtimeInteraction: boolean


id​

id: number


inboxId​

inboxId: number | null


initialMessageError?​

optional initialMessageError: string | null


initiator?​

optional initiator: ChatDetailResponseInitiator


interrupt?​

optional interrupt: ChatInterruptResponse | null


isStarred?​

optional isStarred: boolean


isTest​

isTest: boolean


labels​

labels: ChatLabelResponse[]


lastMessageReceivedAt​

lastMessageReceivedAt: string | null


messageCount​

messageCount: number


muted​

muted: boolean


mutedAt?​

optional mutedAt: string | null


mutedByMemberId?​

optional mutedByMemberId: number | null


muteExpiresOnInbound?​

optional muteExpiresOnInbound: boolean


muteReason?​

optional muteReason: string | null


outboundCallReceipt?​

optional outboundCallReceipt: OutboundDialQueued | null


participants​

participants: ChatParticipantResponse[]


paused​

paused: boolean


pausedAt​

pausedAt: string | null


pausedReason​

pausedReason: string | null


phoneNumberId​

phoneNumberId: number | null


siteId​

siteId: number | null


sourceCategories​

sourceCategories: string[]


summary​

summary: string | null


summaryUpdatedAt​

summaryUpdatedAt: string | null


title​

title: string | null


transport?​

optional transport: ChatDetailResponseTransport


updatedAt​

updatedAt: string


uuid​

uuid: string


workflowId​

workflowId: number | null


workflowRevisionId?​

optional workflowRevisionId: number | null