Thursday, 1 June 2017

Send message to user if no match at all

I am using node-telegram-bot-api

Is it possible to send a default text to bot user if none of the text the user entered is identified by the bot?

I was thinking something which would allow the user to actually know the bot is functioning even if the user wrote text that is not identifiable by it. For example: "I didn't get that, please try again"

I've read through the documentation, but could not find a solution. Any tips would be greatly appreciated.



via Kristian Vybiral

No comments:

Post a Comment