@figuro/chatwoot-sdk
Version:
SDK for JS/Typescript for Chatwoot.
39 lines (38 loc) • 910 B
TypeScript
import type { message } from "./message";
export declare type conversation = {
/**
* ID of the conversation
*/
id?: number;
messages?: Array<message>;
/**
* Account Id
*/
account_id?: number;
/**
* ID of the inbox
*/
inbox_id?: number;
/**
* The status of the conversation
*/
status?: "open" | "resolved" | "pending";
/**
* The time at which conversation was created
*/
timestamp?: string;
contact_last_seen_at?: string;
agent_last_seen_at?: string;
/**
* The number of unread messages
*/
unread_count?: number;
/**
* The object containing additional attributes related to the conversation
*/
additional_attributes?: any;
/**
* The object to save custom attributes for conversation, accepts custom attributes key and value
*/
custom_attributes?: any;
};