Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dissapearing presistent menu #889

Open
psztefko opened this issue Mar 18, 2021 · 0 comments
Open

Dissapearing presistent menu #889

psztefko opened this issue Mar 18, 2021 · 0 comments

Comments

@psztefko
Copy link

psztefko commented Mar 18, 2021

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?

DriveBot.persistent.menu.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',
},
],
},
],
}
`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant