A chatbot is a software application used to conduct an on-line chat conversation via text or text-to-speech, in lieu of providing direct contact with a live human agent.
So, here I've used telegram BotFather API token to interface between user and database.
1.Find telegram bot named "@botfarther", he will help you with creating and managing your bot.
2.Print “/help” and you will see all possible commands that the botfather can operate.
3.To create a new bot type “/newbot” or click on it. Follow instructions he given and create a new name to your bot. ...
4.Congratulations!