Creating a telegram bot using Node JS

preview_player
Показать описание
In this comprehensive tutorial, we'll delve into the following key aspects:

1. *Creating a Telegram Bot:* Discover the step-by-step process of setting up your very own Telegram bot from scratch.

3. *Connecting Local Development with Telegram:* We'll guide you through the process of connecting your local development environment to Telegram using the powerful tool, ngrok.

4. *Creating Custom Telegram Commands:* Unlock the potential of your bot by mastering the creation of custom Telegram commands tailored to your specific needs.

5. *Responding to Commands:* Understand how to craft dynamic responses for your Telegram bot, allowing it to interact seamlessly with users.

Join us on this exciting journey of Telegram bot development and enhance your skills in building interactive and responsive bots for various applications!

Problem statement:
Think about all those photos we take with friends and family. Sometimes, when we stumble upon an old picture, it's like traveling back in time to those wonderful moments. So, here's what we're doing in this tutorial series: we're creating a Telegram bot. This bot can find a random photo from our Google Photos collection. Let's build it together!

Videos in these series
#1 Creating a telegram bot using Node JS - Current video

Useful links
Рекомендации по теме
Комментарии
Автор

Amazing tutorial, you not only show us commands and lines of code, you actually teach, and I find it amazing

ch
Автор

This tutorial is really useful, since you can just modify the code and host it on vercel or render

arnavghosh
Автор

In my case its always error in ngrok
bad gateway 502 and got error

AxiosError [AggregateError]

Can you help me

mcqueenyaqueen
Автор

OMG, that's a best tutorial that I've seen. You've explain everything about the process, thanks for your video. Just one thing, If I use "node-telegram-bot-api" will be not necessary use the ngork, right?

othekaka
Автор

I'm building a Telegram web app using mern stack, I want that whenever any telegram user opens my telegram bot webapp then I should get his user id in my project, If anyone knows please tell me it will be very helpful 🙏

underworld-of-gaming
Автор

"Sir, will this ngrok make my Telegram bot appear 24/7?"

erwcjtm
Автор

*Wich app is this: **1:20** please make Detail Video not able to understand in this sir.

bhai
Автор

Hi,

It was all working perfectly fine before, but now I am getting the 405 'not allowed' results with ngrok. Not sure how to get it working again.

Steps I am taking
- running `ngrok http 4040` in terminal
- copying the url to postman and adding it the api call, resulting in 'webhook was set' in postman
- terminal gives back: POST/ 405 method not allowed

Tried this steps multiple times. What could be wrong?

Great tutorial btw, thanks

wessel_g
Автор

Please can we get he source code? At least for the setup part

dixankay
Автор

Hey bro, what happens when we not using webhook ?

Dungboreview
Автор

How do i deploy this on prod with ngrok

amaechichisom
Автор

Keep doing this great work bro!

Also need a javascript course in your language.

Your explanation is top notch😊

sher
Автор

This tutorial is unnecessarily complex

JethiyaChampakGada
Автор

hey hi, i got an error says that messageObj.text is undefined

qiyamelislam