We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Can we do this in a way that doesn't muddle the api for bot.on?
bot.on
Some ideas:
bot.on(/postback:PRODUCT[0-9]{1,3}/, (payload, chat) => {}) bot.postback(/PRODUCT[0-9]{1,3}/, (payload, chat) => {}) bot.on('postback', /postback:PRODUCT[0-9]{1,3}/, (payload, chat) => {})
Anyone else have any API ideas here?
The text was updated successfully, but these errors were encountered:
👍 I also need this for my bot. I need to make buttons that allow you to unsubscribe from a given topic and wanted to do so like this:
bot.on(/postback:UNSUB_(\S*)/i, (payload, chat, data) => {
But it seems like that is not available... Please add!
Sorry, something went wrong.
No branches or pull requests
Can we do this in a way that doesn't muddle the api for
bot.on
?Some ideas:
Anyone else have any API ideas here?
The text was updated successfully, but these errors were encountered: