DEV Community

David Pichsenmeister
David Pichsenmeister

Posted on

Building a Telegram Bot with node.js in 10 minutes

👋Hello devs! I made a new video tutorial on building bots for Telegram. Hope you enjoy!

Who is it for?

This tutorial is for javascript / node.js developers who are new to building bots on Telegram's Bot platform.

What you'll learn

We will go into the very basics of building a bot, including how to:

  • create a Telegram Bot using the Botfather account
  • use ngrok to develop the bot on a localhost
  • setup a Telegram webhook
  • receive messages from Telegram using a webhook
  • sending messages using the sendMessage API

Resources

Telegram Bot API
ngrok
Github repository

Discussion (0)