Options
All
  • Public
  • Public/Protected
  • All
Menu

Module conversation/conversation

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

    • Default value options: ConversationV3Options = {}

    Returns OmniHandler & BaseApp & ConversationV3App<TConversation>

Generated using TypeDoc