Skip to content

Interface: UseGenieChatReturn

conversationId: string | null


error: string | null


fetchPreviousPage: () => void

Fetch the previous page of older messages

void


hasPreviousPage: boolean

Whether a previous page of older messages exists


isFetchingPreviousPage: boolean

Whether a previous page is currently being fetched


messages: GenieMessageItem[]


reset: () => void

void


sendMessage: (content) => void

string

void


status: GenieChatStatus