Skip to content

A simple inline telegram bot that searches for restaurants nearby, deployed using ZEIT now

Notifications You must be signed in to change notification settings

rohit-gohri/zomato-telegram-bot

Repository files navigation

zomato-telegram-bot

Start

Edit the config.json in the root of the folder with your set of keys/token or read the config section.

yarn
yarn start

OR

npm install
npm run start

config

Add a config.json to a folder called private in the root directory.

The format should be :

{
  "zomato": {
      "token": "YOUR_API_TOKEN"
   },
   "telegram": {
      "token": "YOUR_BOT_TOKEN"
    }
}

Get Zomato API token at: https://developers.zomato.com/api Generate Telegram bot token with @botfather bot on telegram: https://telegram.me/botfather

Previews:

Search: search preview image

Message: message preview image

API Documentation