Simple bot for providing support to your client from staff chat.
Inspired by telegram-support-bot by Eric Trenkel.
- Create a bot via BotFather in telegram and save its token
- Create a group for answering clients' questions
- Add bot to the group and make it admin
⚠ Note: When a second admin is added the group is upgraded to supergroup and its id is changed!
You can use image on DockerHub
docker run -e BOT_SUPPORT_TOKEN=<your_token> -e BOT_SUPPORT_CHAT_ID=<your_support_staff_chat> -d sdalbmstu/ridenow-support-bot
bot-support:
image: "sdalbmstu/ridenow-support-bot"
restart: always
environment:
- BOT_SUPPORT_TOKEN=<your_token>
- BOT_SUPPORT_CHAT_ID=<your_support_staff_chat>
Ensure Node and Yarn are installed.
git clone https://github.com/solovevserg/telegram-support-bot.git
cd telegram-support-bot
yarn install --frozen-lcokfile
# for production
yarn build
yarn start
# or in development
yarn dev
Feel free to contribute! Just fork, make necessary changes and leave a PR.
I am sergei Solovev, fullstack TS developer, data analyst and teacher. You can look at my works here. For faster response get me on telegram.