Skip to content

Programmatically create a userMessage and add to ChatBot state #204

Description

@nitindhar7

I have this prototype im building where I would like to have a few buttons, which when clicked trigger the creation of a user/client message into the ChatBot. Without having access to the internal state of the ChatBot or any way to programmatically update it, im not entirely sure how I could do this.

In the example below, I would like to be able to click "Button 1 Lorem ipsum sit amet dolor" and have "Lorem ipsum sit amet dolor" show up in the chat as if I had typed it in and hit enter.

Thoughts?
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions