Telegram bot showing Clarifai face detection and nodejs image manipulation
Download or clone it. Don't forget to run the command below to install the dependencies:
npm install
Also, you need to define the following enviroment variables:
- BOT_TOKEN
- CLARIFAI_CLIENT_ID
- CLARIFAI_CLIENT_SECRET Use values you obtain when creating your bot with the Botfather as well as signing up with clarifai
This is the source code for the chatbot described in this medium.com article