Yoctol / bottender

⚡️ A framework for building conversational user interfaces.
https://bottender.js.org
MIT License
4.22k stars 335 forks source link

Dissapearing presistent menu #889

Open psztefko opened 3 years ago

psztefko commented 3 years ago

I've got a problem that is shown on video below. Persistent menu shows up after pressing get started button but as soon as "get started" message is sent it dissappears. Do you have any idea what might be causing that?

https://user-images.githubusercontent.com/57404599/111673135-f53ee880-881a-11eb-93ec-9f4fbe8d063b.mp4

Here's my profile code which I'm refering to in module.exports/channels in my config js file (Sorry for how it looks but I have no idea why it is displayed without indentation)

` const profile = {

getStarted: { payload: 'GET_STARTED' }, greeting: [ { locale: 'default', text: 'Cześć {{user_first_name}}! W czym mogę pomóc?', }, ], persistentMenu: [ { locale: 'default', composerInputDisabled: false, callToActions: [ { type: 'postback', title: 'Sprawdz przejazdy', payload: 'SHOW_RIDES', }, { type: 'postback', title: 'Pokaz rezerwacje', payload: 'SHOW_RESERVATION', }, { type: 'postback', title: 'Anuluj rezerwacje', payload: 'CANCEL_RESERVATION', }, ], }, ], } `