/telegram-bot

Primary LanguageTypeScript

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.