Telegram is one of top social media apps/platforms that offers security with encryption and on a completely free, fast, and distributed system.
A bot is a software program that operates on the Internet and performs repetitive tasks.
Telegram Bots are accounts operated by software – not people – and they'll often have AI features. ... They can do anything – teach, play, search, broadcast, remind, connect, integrate with other services, or even pass commands to the Internet of Things.
Sign In to your telegram account and search for BotFather himself and start a conversation with him.
We’ll now invoke the process of creating a new bot with:
Give it a name and a username:
Once that process is complete, you’ll get an API Token to use, copy it somewhere, we’ll be using it soon in our application.
Now that we have Node.js and npm installed and our Telegram account is ready, we can start with the project. Open up your preferred terminal and run these commands:
Create a directory
Move into the directory
Now we have a directory for our Telegram bot, but we need a package.json, this tells npm information about our project. To do this, (in the same terminal window) we need to run this:
Continue Reading at https://iamnotstatic.hashnode.dev/build-your-first-telegram-bot-with-nodejs
Hopefully, this article can be useful for readers. If given the opportunity, I will explain about Node.js again or anyone has a request?
Please criticize and advise, do not forget to leave a comment and give Clap 👏👏