Cannot read property 'map' of undefined
- Dominant language
- TypeScript
- Stars
- 40
- Forks
- 67
- PR merge metrics
- No merged PRs in 30d
Description
hello ,
every time i'm try to run this ButtonTemplate
```
public function AskForMoreInfo()
{
$list = ButtonTemplate::create(__('bot.chose_one'))
->addButton(
ElementButton::create(__('bot.anther_search'))
->type('postback')
->payload('search')
)
->addButton(
ElementButton::create(__('bot.next_aya'))
->type('postback')
->payload('next_aya')
);
$this->ask($list, function (Answer $answer) {
$this->say($answer->getText());
});
}
```
i'm facing this Cannot read property 'map' of undefined (chat.js:1)



Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.