How To Create A Telegram Bot With Python
Vložit
- čas přidán 8. 07. 2024
- Learn how to make a Telegram bot with Python - a guest video by Jacob from ClarityCoders.
Check out my Twitter for more content: / ykdojo
Also check out Jacob's channel for more Python vids: / claritycoders
And here's the code he showed in this video: replit.com/@JacobLower3/Teleg...
On Replit, you can get 2 months of free hacker plan with this code: csdojo2 (claim it at replit.com/claim)
Finally, You remembered you've CZcams channel 😂
with 1M subscribers 😂
YOU'VE
I can't like this comment bcoz it has 69 likes
Lol
exactly ❤️
Hey CS Dojo, you are an inspiration!! I started my youtube channel on programming and software engineering because of you and been finally growing! Thanks for all your great content and always keep making helpful videos!!
btw, I'm also from the University of British Columbia :)
Thank you for your kind words!!
I have seen many videos to make a telegram bot, I just got the information I need from your video, appreciate you man thanks a lot
That was fun. You should make a series out of this.
13:56 nice save
FINALLY A VIDEO FROM CS DOJO
But not personally )
not really...
oh man i love python. 13 lines of code from which 3 are spaces and you got a functional bot LOL... Thanks for the video and the people behind the packages too obviously :)
Wowowoww, from zero to understand in 5 minutes... Thanks 👍👍👍👍👍
That was a great tutorial! Thank you very much :D
he looking different in a good way though 🔥
Long overdue video from CS Dojo More frequent I hope😂
Welcome back CS Dojo! Could you please do a Discord bot as well too?
Good idea.
The better video that I have ever seen in CZcams. Congrats on video.
You are the best programmer but plz show your talent every week
Thank you for introducing me to replit!
what a great work! I would appreciate it if You make a Video about a bot that Takes a string from a person who have pass code( with If loop) and post that string to other users that run another command!
Thanks for the tutorial! It was useful to me. I would love to see others like that.
Keep the Telegram videos!! Please :) it was cool
13:54 love how quickly you caught yourself hahaha
nice video, looking forward to see more videos on bots.
Cool! Thank you! Really useful tutorial!!!
Feeling first with 26 others.
wow, great tutorial.
will it scale? I mean is it going to work with more users or we should deal with threads?
Hi CS dojo,
I love your videos on python oops concept. I am a python programmer and now I am learning java, could you please make a series tutorial on Java or Java OOPS concept.
How can I contact you ?
Awesome video! I want to learn how to create a bot that sends you notifications every hour regarding stock price, weather, news or quotes.
I'd love to see a video about a bot sending back photo's, gif's, etc.
The GOAT Thanks you for this video ✨
Thanks for the video.
We want more telegram, not related videos.
Thank you dojo from Sri Lanka 🇱🇰
Replit. It’s actually amazing, My school uses it and it was my first IDE that I learned to code on about a year ago
I agree, I use it to check my codes quickly 👍
Hell yeahh!!
Thank you for this great video. How can we format the text to include bold font and embedded links? Thank you again.
nice video , and which software you used to compress videos
After so long was waiting for ur video so long
Nice video
I would like if a video for transportation bot is made for telegram with python.
A huge thanks from INDIA🌟
That moment when he said, " and of course coding's really fun, so your.... Commands really matter here"😂
thats what make this tutorial good, it shows coding is not always rainbows and sunshine xD
It's been a while YK!
I want to ask you an irrelevant question
For app development
What should I use
java +android studio
Swift +xcode
react native
This is really Awesome
Quick thing, what software you have used to create this video? how we can show the coding screen and in bottom right your visible.
Thanks for the tutorial, in case, is there any tutorial to set '+/-Post Messages' of a telegram bot in a channel?
Great Cs dojo , please a video on reddit bot and a chatbot
Very useful video Thank You very much for this Video
Thank you that was very useful 👌
Finally, the good tutorial out of everything out there how to make a bot. They all just make a bot not the code. I want to make gamebot, is there any tutorial?
finally you remember your youtube channel padsword
Hahahhaha pad sword
This is really cool, thank you! How would one create a TG bot that would return data based on that user? Example billing information for a tenant or customer by linking their TG username/number. Thanks once again, keep safe!
AHAHAHAHHA Wow you clowns don't even TRY to hide your exploitive ways anymore!
@@bo6344 yeah since we living on an open source world protect your own stuff is somethings ppl should be doing rather than believe in the "protector" stuff
Thaks Sir for your tutorial : ) !!!
Hey, can you make a video about the ReplyKeyboardMarkup. (How to use the function, how to process the requests from it etc.)
soooo, do I have to create "a new channel" for a bot, or can a bot be added to existing channel? cause I don't see how to find an API key for existing channel ...
okay, figured it out. once you create the bot, open it, and click on ellipsis and select "add to group". this will not offer regular channels, but will offer you chat groups so you can add bots to those
More telegram bot stuff!! Like fun cmds and a playlist!! Plssssplsss
I have done exactly as you doing, but in sublime text3, How to set the environment, for this code to work
great tutorial, thank you very much
you should make a video on how teenagers can start learning coding.
unable to add .env file , showing env files are depricated
you can find it in the left bar with a lock icon and add your API_KEY and key there
@@leetcodemermaid9804
thx bro
@@leetcodemermaid9804 4:51
the code still?
So, how to send alert? (that you have mention at beginning)
very straightforward
"it's not tea, i'm not sentdex" what savage 😂
but I wish I was 😢😉
waiting for your next video.
Looking good YK!
Are the professional certicates from google, IBM are accepted for visa instead of a CS degree? For software engineer job
Interesting... Nice sir
Nice Job!
So nice explain brother.
Hello can you explain to us if we can creat python code that can help to do technical analytics and fundamental analytics to get decision of selling or buying in stocks market or forex market
How difficult is it to create a bot that looks at the content of a message? Copies a part from it? And adds a command to the line and the send that?
Great video.. Will like to see how to alert a group based on some condition so the user does not need to run a command but instead just receive a notification ?
Make a video on your gadgets . Please suggest some usful gadgets.....love from india
Could you give us a toturial about creating bottons in telegram bot
I'd like the bot send me a message whenever there's a new post of some forum.
What's the right way to set it up without passing a command to the bot?
AttributeError: 'TeleBot' object has no attribute 'message_handler' although I install telebot or pytelegrambotapi
Good yk really superb
Thank you dojo...
i can't create the .env file in repl it...
Hey Thanks for the video , i have problem with the method bot.polling my terminal is mad
i would love some help , Thanks for helpers
Can you please make a part 2 of this ....🙂. Please include how to connect with Google spreed sheet data as well.
Thank you
Bro I am using pyroid 3 to run my bot but it doesn't run. I just type 11strings since it shows no module found at string 31. What I can do?
日本人なんですね!
今高校留学の最後の年です。プログラミングは全くわかりませんがこれから頑張ります
Well, it's okay if you dont... I mean, just do it if you have the time..
It would be very useful!
Replit has gotten rid of .env files and went to storing secret info on the environment to the 'secrets' tab. How do I run the API key into my program with this new change?
thx
In the secret tab, the "key" will be the variable name and the value will be your API key.
In main.py, the way to run will still be the same
@@leehanglow4439 I haven't tested yet, but when I create that secret and then use the "insert" button it says "my_secret = os.environ['API_KEY']". Do I just use code as is or use what replit inserts? (delete the insert)
how would i create a button in the bot and assign the button to some sort of function?
Hey can someone send me the documentation of this API please. Thanks!!
can't quite figure it out...why wouldn't you use a regular hosting instead of replit?
the code stops working after a time. it says connection error and so on even if i start it on replit always on. How can i fix that?
Thanks for the helpful video. But I want to create Questions-Answer related Telegram Bot. Can you make another video for it? And, again thank you for this
Hey can you make a tutorial on making a telegram game bot? I'm trying to do one bit I don't know how to make coding for custom choices like players' names and everything else
Any idea how to monitor price of a certain stock or coin by tg bot or discord ?
I want to extract data directly from the exchange
Thank you for the tutorial!
Do I get it right - when the code is not running then the bot is not working? If i'm programming it off a local environment - does this mean I have to keep my laptop running 24/7 for the bot to work? How is it done in real life so the bot works all the time?
it is deployed to cloud platforms like AWS or Heroku, which will run ur code 24/7
@@meowmaple thank you! Now I have some idea where to look for more info.
Cs dojo is back!!!
How can i read a message and save the text in a string?
Nice info. please create a series of videos how to convert python script to tg bot, like i have a python script which does rename files on google drive, so how to convert it to tg bot? Also another script which does ffmpeg on gdrive files
Hello, please help me, how can I save a user input and then outputs it later on
It's fine to see, but how to create a telegram bot with Python w/o any libraries?
How do i go about doing this if i want a command to be trigerred by a message sent in another channel? can I add the bot to channel and take those messages as command?
can we get some sort of graph work also from this bot?
We want CS beginners tutorials
thank you for vide. How to keep running my bot every time? When i stop it in Replit, then it does not work.
Could you please share how can we read incoming messages of more then one channels continuosly In which I'm just joined as a member. ?
When I type .env for the new file it says 'you cannot create .env files anymore, checkout the environment variable sidebar' can you please tell me what to do
Just click on the lock icon on the left side of the screen, it is called Secrets (Environment variables), you can add name for your api key (let's say API_KEY) and then paste the actual key down there. In the next step, it also tells you how to get the key and store it in a variable(you can rename the variable however you wish). That's how you do it, .env files are not supported anymore.
@@hrishikeshbharati9419 oh thanks for explaining
Anyone else have the issue of trying to create the .env file and it doesn’t work?
exactly. did you fix that issue?
i know the roadmap for web development
app development (android/ios)
but what is the roadmap for desktop app/software deveelopment?
?
?
?