Private Readonly chatPrivate Optional Readonly feedbackPrivate lastPrivate Readonly propsPrivate Readonly renderPrivate Optional Readonly sheetPrivate Readonly splashPrivate Readonly splashPrivate Readonly splashPrivate Readonly tabPrivate Readonly tabsCorresponding tab ID.
Optional insertPosition: numberPrivate Readonly addOptional type: PromptAttachmentTypeConverts a card to an ANSWER if it is an ANSWER_STREAM
Corresponding tab ID.
Corresponding tab ID.
Optional updateWith: Partial<ChatItem>Optional, if you like update the card while converting it to a normal ANSWER instead of a stream one, you can send a ChatItem object to update with.
Private Readonly focusReturns all tabs with their store information
string selectedTabId or undefined
Private Readonly getOptional actions: Action[]Updates defaults of the tab store
Private Readonly getSimply creates and shows a notification
NotificationProps
Optional duration?: number-1 for infinite
Optional onOptional onOptional title?: stringOptional type?: NotificationTypeOptional showBackButton: booleanOptional snapOnLastAndFirst: booleanOptional showBackButton: booleanSimply creates and shows a custom form
Optional formItems: ChatItemFormItem[]Optional buttons: ChatItemButton[]Optional title: stringOptional description: stringToggles the visibility of the splash loader screen
Optional text: stringOptional actions: Action[]Updates the chat item with the given messageId
Corresponding tab ID.
Corresponding tab ID.
ChatItem object to update with.
Updates the last ChatItemType.ANSWER_STREAM chat item
Corresponding tab ID.
ChatItem object to update with.
Updates only the UI with the given data for the given tab Send tab id as an empty string to open a new tab! If max tabs reached, will not return tabId
A full or partial set of data with values.
Updates defaults of the tab store
MynahUITabStoreTab
Adds a new item to the chat window