This is a telegram bot translator built with the node-telegram-bot-api library and powered by three translation engines :
- google translator engine
- microsoft translator engine
- faraazin translator engine
In the development of the source code of this robot, we have tried to develop the project in the most optimal way possible
open .env
file an and set this three values
TOKEN='' # this is telegram bot token
apiTOKEN='' # this is one-api token
TIMER= # this is timer for destroy engine and language and required to set new engine (set integer data by second)
open terminal and write npm install
to install all dependencies After the installation is complete, enter the nodemon
or node index.js
command in the terminal to run the project
Translate API: https://one-api.ir/api-translate
Telegram Api Pkg: https://github.com/python-telegram-bot/python-telegram-bot