Skip to content

Instantly share code, notes, and snippets.

@MichaelBarney
Created May 1, 2020 20:57
Show Gist options
  • Save MichaelBarney/29a1d8fc250045ddb1fadf61cbe88999 to your computer and use it in GitHub Desktop.
Save MichaelBarney/29a1d8fc250045ddb1fadf61cbe88999 to your computer and use it in GitHub Desktop.
controller.on('facebook_postback', async(bot, message) => {
await bot.reply(message,`Escutei o seguinte postback: ${ message.text }`);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment