Skip to content

Instantly share code, notes, and snippets.

@MichaelBarney
Created May 1, 2020 21:06
Show Gist options
  • Save MichaelBarney/7acd4404bab04b8bc3f724872175ddee to your computer and use it in GitHub Desktop.
Save MichaelBarney/7acd4404bab04b8bc3f724872175ddee to your computer and use it in GitHub Desktop.
controller.hears('get_started', 'facebook_postback', async(bot, message) => {
await bot.reply(message, `Vamos começar!`);
await bot.reply(message, {
text: 'Qual é o seu nome?',
quick_replies: [
{
title: "Michael",
payload: "meu nome é Michael",
},
{
title: "Ana",
payload: "meu nome é Ana"
}
]
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment