Files
archived-starters/examples/telegram-bot/README.md
Faraz Patankar 5c66af4831 Add frontmatter to all starters (#98)
* add frontmatter to BlitzJS starter

* add frontmatter to all starters

* add plugins and envVars

* fix envVars formatting

* fix key for defaultValue in envVars

* remove unused frontmatter
2021-05-13 02:56:21 -04:00

861 B

title, description, tags
title description tags
Telegram Bot An ExpressJS server with a Telegram bot
express
telegraf
typescript

Telegram bot example

This example starts a Telegram bot on an ExpressJS server.

Deploy on Railway

Features

  • Telegraf (library to interact with the Telegram bot API)
  • Express
  • TypeScript

💁‍♀️ How to use

  • Install dependencies yarn
  • Connect to your Railway project railway link
  • Start the development server railway run yarn dev

📝 Notes

The server started launches a Telegram bot with a couple of basic commands. The code is located at src/index.js.