section-engineering-education / engineering-education

“Section's Engineering Education (EngEd) Program is dedicated to offering a unique quality community experience for computer science university students."
Apache License 2.0
363 stars 889 forks source link

Building your first Telegram bot in Node.js and Telegraf library #1844

Closed calebro-xyz closed 3 years ago

calebro-xyz commented 3 years ago

BRIEF SUMMARY In this tutorial, you will learn how to build telegram bots using node.js runtime environment and telegraf library from scratch. This will act as an introduction to the Telegram bot environment that will enable you to build weather bot, vendor bots, e-commerce bot, or even dictionary bot. This tutorial will be as beginner-friendly as possible.

INTRODUCTION What are bots? Bots are third-party application accounts that run inside the Telegram application. Users can interact with bots by sending them messages, commands, and inline requests. You control your bots using HTTPS requests from the Telegram Bot API.

PREREQUISITE Before you begin this guide you’ll need the following:

1.node.js installed 2.npm installed 3.visual studio code installed 4.Commandline use knowledge

KEY TAKEAWAYS 1.Coding telegram bot in javascript 2.Running telegram bot locally 3.using telegram bot API

REFERENCE Official telegraf.js(Modern Telegram bot framework for Node.js) documentation

Telegram official introduction to bots

hectorkambow commented 3 years ago

@calebroHQ great topic - approved 👍

hectorkambow commented 3 years ago

1933