'botman don't run callback param of ask method the first time when sendWidgetOpenedEvent = true

I have a problem with botman io ask function. I set sendWidgetOpenedEvent = true so the first time open botman window the chat botman show. it is ok. I create 5 button. with line code line this enter image description here

5 buttons can show on the dialog window. But when user clicks the button, botman don't run callback param of ask method. More detail explaination. Firt time we call botman method so, botman cannot hears any text from users. I think that why the callback ask can not call. if user send message first, botman show button, user clicks button, the callback ask can be called. enter image description here

Can someone give me some hints to fix this bug.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source