Options
All
  • Public
  • Public/Protected
  • All
Menu

Module conversation

Type aliases

PromptContent

PromptContent: Card | Collection | CollectionBrowse | Image | List | Media | Table

PromptItem

Functions

Const conversation

  • This is the function that creates the app instance which on new requests, creates a way to interact with the conversation API directly from Assistant, providing implementation for all the methods available in the API.

    example
    
    const app = conversation()
    
    app.handler('handler name', conv => {
      conv.add('How are you?')
    })
    

    Type parameters

    Parameters

    • Optional options: ConversationV3Options

    Returns OmniHandler & BaseApp & ConversationV3App<ConversationApp>

Generated using TypeDoc