Member Junction
    Preparing search index...

    Implements

    • AfterViewInit
    Index

    Constructors

    Properties

    AIImageURL: string = ''

    Optional, provide this to show an image for the AI. If not provided, a default robot icon will be shown.

    AILargeImageURL: string = ''
    AllowSend: boolean = true

    Set this to enable/disable sending of a message. Whenever the input is empty, this field will be ignored and the send button will be disabled.

    ClearAllMessagesPrompt: string = 'Are you sure you want to clear all messages?'

    Optional, provide a prompt for the user when they click the clear all messages button.

    ClearChatRequested: EventEmitter<void> = ...
    currentMessage: string = ''
    InitialMessage: string = ''
    InternalAllowSend: boolean = true
    MessageAdded: EventEmitter<ChatMessage> = ...
    Messages: ChatMessage[] = []
    Placeholder: string = 'Type a message...'

    The placeholder text for the input field

    showingClearAllDialog: boolean = false
    ShowScrollToBottomButton: boolean = false
    theInput: ElementRef<any> | undefined
    WelcomeQuestions: ChatWelcomeQuestion[] = []

    Optional, provide up to 4 welcome questions with example prompts. These will be shown to the user when the chat is first opened and there are no messages.

    Accessors

    Methods

    • A callback method that is invoked immediately after Angular has completed initialization of a component's view. It is invoked only once when the view is instantiated.

      Returns void

    • Parameters

      • message: string
      • senderName: string
      • senderType: "user" | "ai"
      • id: any
      • fireEvent: boolean = true

      Returns void