Open a-j-n opened 5 years ago
i found out if i have two ButtonTemplate at the same conversation only first one will work
Have you had solution for that problem?
In my case, the problem occurred when I was trying to list buttons after clicking other conversation buttons. The problem was this line: https://github.com/botman/web-widget/blob/master/src/chat/messages/action.tsx#L30. As you can see, a new object is created and buttons are not passed to the messageHandler function.
hello , every time i'm try to run this ButtonTemplate
i'm facing this Cannot read property 'map' of undefined (chat.js:1)