Module: frontend-react
Interfaces
Variables
ConvoStackEmbed
• Const
ConvoStackEmbed: LoadableComponent
Defined in
packages/convostack-frontend-react/dist/src/index.d.ts:3
ConvoStackWidget
• Const
ConvoStackWidget: LoadableComponent
Defined in
packages/convostack-frontend-react/dist/src/index.d.ts:2
Messages
• Const
Messages: LoadableComponent
Defined in
packages/convostack-frontend-react/dist/src/index.d.ts:4
Functions
ConvoStackWrapper
▸ ConvoStackWrapper(props
, context?
): ReactElement
<any
, any
>
Parameters
Name | Type |
---|---|
props | ConvoStackWrapperProps |
context? | any |
Returns
ReactElement
<any
, any
>
Defined in
node_modules/@types/react/ts5.0/index.d.ts:515
useConvoStack
▸ useConvoStack(): Object
Returns
Object
Name | Type |
---|---|
activeConversationId | string |
context | { [key: string] : string ; } |
data | any |
dropSubscription | (embedId? : string ) => void |
embedActiveConversationId | { [embedId: string] : string | null ; } |
embedData | { [embedId: string] : any ; } |
isConversationListVisible | boolean |
isEmbedConversationListVisible | { [embedId: string] : boolean ; } |
isWidgetWindowVisible | boolean |
openConversation | (conversationId : string , agent? : string , context? : { [embedId: string] : string ; }, embedId? : string ) => Promise <string > |
openConversationList | (embedId? : string ) => void |
toggleWidgetWindow | (arg : boolean ) => void |
updateContext | (conversationId : string , context : { [key: string] : string ; }) => Promise <void > |
Defined in
packages/convostack-frontend-react/dist/src/hooks/useConvoStack.d.ts:1