Skip to main content

Interface: ChatResource

Output shape from the API.

Properties​

created_at​

created_at: string


id​

id: string


last_message?​

optional last_message?: MessageResource

Present only when the request opts in via with_last_message (getUserChats).


last_message_at?​

optional last_message_at?: string


metadata?​

optional metadata?: StringMap


owner?​

optional owner?: UserResource


owner_id?​

optional owner_id?: string


title?​

optional title?: string


type​

type: ChatType


updated_at​

updated_at: string