Help bot

In Bots.Business chat we have many generic questions. This bot can answer for them.
Bot is Inline bot - it can used for searching in help.bots.business
Also bot use Master command - *.
Code description
Bot receive all messages from chat with Master command.
So we do not need any notifications about new chat members and etc:
Bot have keywords for searching in user's messages. Bot show answer and url on keywoard in message:
Also admin can write anything and do not need any help. So we have key - answerToAdmin:
Sometimes we need exact searhing:
Message can be in aNyCAse. We need it only in lowercase:
We use functions in the code. So code more simple:
Perform searching. And if we get answer - send message:
Last updated
Was this helpful?