Interface: UseGenieChatReturn
Properties
Section titled “Properties”conversationId
Section titled “conversationId”conversationId:
string|null
error:
string|null
fetchPreviousPage
Section titled “fetchPreviousPage”fetchPreviousPage: () =>
void
Fetch the previous page of older messages
Returns
Section titled “Returns”void
hasPreviousPage
Section titled “hasPreviousPage”hasPreviousPage:
boolean
Whether a previous page of older messages exists
isFetchingPreviousPage
Section titled “isFetchingPreviousPage”isFetchingPreviousPage:
boolean
Whether a previous page is currently being fetched
messages
Section titled “messages”messages:
GenieMessageItem[]
reset: () =>
void
Returns
Section titled “Returns”void
sendMessage
Section titled “sendMessage”sendMessage: (
content) =>void
Parameters
Section titled “Parameters”content
Section titled “content”string
Returns
Section titled “Returns”void
status
Section titled “status”status:
GenieChatStatus