botui.action.select

Asked

Viewed 19 times

1

Talk, you guys, baby?

I need a help here in vuejs, but precisely in botUI API.

I have the following select action:

const response = await this.instance.action.select({
      action:
        {
          placeholder: question.content,
          multipleselect: question.multipleselect,
          options: question.options.map(options => {
            return {value: options.value, text: options.text}
          }),
          button: {
           label: 'Enviar'
          },
        },
    })

I need to put a button beyond the send, with another type of action (back to ask earlier), at the moment I am using async and await, so I chose not to use then().

Thanks.

Gabriel Barreto

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.