Skip to main content

View as Markdown · AI documentation index

Type Alias: ChatListItem

ChatListItem = object

Defined in: hooks/useChatList.ts:10

One row of a chat list.

Properties​

avatar​

avatar: string | undefined

Defined in: hooks/useChatList.ts:13


chat​

chat: Chat

Defined in: hooks/useChatList.ts:11


isEmpty​

isEmpty: boolean

Defined in: hooks/useChatList.ts:17

true when the chat has never received anything.


lastActivityAt​

lastActivityAt: number

Defined in: hooks/useChatList.ts:15


title​

title: string

Defined in: hooks/useChatList.ts:12


unread​

unread: number

Defined in: hooks/useChatList.ts:14