Тёмный

How To Create A Telegram Bot With Python 

CS Dojo
Подписаться 1,9 млн
Просмотров 613 тыс.
50% 1

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)

Опубликовано:

 

27 июн 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 478   
@prasadbylapudi4755
@prasadbylapudi4755 3 года назад
Finally, You remembered you've RU-vid channel 😂
@ritikkaushik2469
@ritikkaushik2469 3 года назад
with 1M subscribers 😂
@SpicyGonzo
@SpicyGonzo 3 года назад
YOU'VE
@zombiekiller7101
@zombiekiller7101 3 года назад
I can't like this comment bcoz it has 69 likes
@mTrader1
@mTrader1 3 года назад
Lol
@RahulSharma-wz6yv
@RahulSharma-wz6yv 2 года назад
exactly ❤️
@cloudietech5825
@cloudietech5825 3 года назад
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 :)
@CSDojo
@CSDojo 3 года назад
Thank you for your kind words!!
@pain1737_6
@pain1737_6 2 года назад
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
@mohammedmhilal4129
@mohammedmhilal4129 3 года назад
That was fun. You should make a series out of this.
@nil9754
@nil9754 3 года назад
13:56 nice save
@koroviev8897
@koroviev8897 2 года назад
That was a great tutorial! Thank you very much :D
@jasgarcha4783
@jasgarcha4783 3 года назад
Long overdue video from CS Dojo More frequent I hope😂
@sunilkulkarni4426
@sunilkulkarni4426 3 года назад
FINALLY A VIDEO FROM CS DOJO
@oleghwang0512
@oleghwang0512 3 года назад
But not personally )
@erickvidbaz3086
@erickvidbaz3086 3 года назад
not really...
@goodtechdoor
@goodtechdoor 2 года назад
Thank you for introducing me to replit!
@rrahll
@rrahll 3 года назад
Cool! Thank you! Really useful tutorial!!!
@MohammedUsaid
@MohammedUsaid 3 года назад
Welcome back CS Dojo! Could you please do a Discord bot as well too?
@ClarityCoders
@ClarityCoders 3 года назад
Good idea.
@codigoaldea7925
@codigoaldea7925 2 года назад
nice video, looking forward to see more videos on bots.
@ryanisthewind
@ryanisthewind 2 года назад
wow, great tutorial. will it scale? I mean is it going to work with more users or we should deal with threads?
@yosimadsu2189
@yosimadsu2189 Год назад
Wowowoww, from zero to understand in 5 minutes... Thanks 👍👍👍👍👍
@sipp5657
@sipp5657 3 года назад
he looking different in a good way though 🔥
@ClaudioBOsorio
@ClaudioBOsorio 2 года назад
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 :)
@arunrojas8942
@arunrojas8942 2 года назад
nice video , and which software you used to compress videos
@maiconreis9276
@maiconreis9276 2 года назад
The better video that I have ever seen in RU-vid. Congrats on video.
@nijoeli
@nijoeli 3 года назад
Keep the Telegram videos!! Please :) it was cool
@hanialadmaai5596
@hanialadmaai5596 Год назад
Thank you for this great video. How can we format the text to include bold font and embedded links? Thank you again.
@ashkannoone1479
@ashkannoone1479 3 года назад
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!
@mdshahadatkabir8329
@mdshahadatkabir8329 3 года назад
After so long was waiting for ur video so long
@sciencekafunda305
@sciencekafunda305 3 года назад
You are the best programmer but plz show your talent every week
@m0t1vAtEd
@m0t1vAtEd 3 года назад
Feeling first with 26 others.
@jamesj2869
@jamesj2869 2 года назад
Thanks for the tutorial, in case, is there any tutorial to set '+/-Post Messages' of a telegram bot in a channel?
@bhaskarthouti1482
@bhaskarthouti1482 3 года назад
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.
@termile510
@termile510 3 года назад
Looking good YK!
@laviniaaparaschivei9264
@laviniaaparaschivei9264 3 года назад
Thanks for the tutorial! It was useful to me. I would love to see others like that.
@ShaneMarkusJohn
@ShaneMarkusJohn 2 года назад
13:54 love how quickly you caught yourself hahaha
@ajaysen7290
@ajaysen7290 3 года назад
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.
@jordanakanbi8060
@jordanakanbi8060 2 года назад
How can I contact you ?
@honeypatel14
@honeypatel14 3 года назад
Awesome video! I want to learn how to create a bot that sends you notifications every hour regarding stock price, weather, news or quotes.
@DouweHummeling
@DouweHummeling 3 года назад
I'd love to see a video about a bot sending back photo's, gif's, etc.
@aldrikshmo
@aldrikshmo 2 года назад
Thank you that was very useful 👌
@Welcome_to_real_life_
@Welcome_to_real_life_ 3 года назад
Instant Like!!!
@29namankumar29
@29namankumar29 3 года назад
It's been a while YK!
@PIVOT112
@PIVOT112 3 года назад
Thank you dojo...
@jeremiahope9173
@jeremiahope9173 2 года назад
Nice video I would like if a video for transportation bot is made for telegram with python.
@noushadkhan1647
@noushadkhan1647 3 года назад
Thanks for the video. We want more telegram, not related videos.
@reproog3003
@reproog3003 2 года назад
Hey, can you make a video about the ReplyKeyboardMarkup. (How to use the function, how to process the requests from it etc.)
@thedriper2983
@thedriper2983 3 года назад
Nice Job!
@sanjaymehta5872
@sanjaymehta5872 3 года назад
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!
@bo6344
@bo6344 2 года назад
AHAHAHAHHA Wow you clowns don't even TRY to hide your exploitive ways anymore!
@choicoinchovui
@choicoinchovui 2 года назад
@@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
@pivotsclips8024
@pivotsclips8024 3 года назад
Thank you dojo from Sri Lanka 🇱🇰
@krishnanagpal807
@krishnanagpal807 3 года назад
Great Cs dojo , please a video on reddit bot and a chatbot
@t.v7072
@t.v7072 2 года назад
Cool! Really helpful.
@mohapeth748
@mohapeth748 Год назад
The GOAT Thanks you for this video ✨
@bijayghosh6128
@bijayghosh6128 2 года назад
I have done exactly as you doing, but in sublime text3, How to set the environment, for this code to work
@wilmenls
@wilmenls 2 года назад
great tutorial, thank you very much
@manoramapatra8091
@manoramapatra8091 3 года назад
Interesting... Nice sir
@zeepranabesh911
@zeepranabesh911 3 года назад
I want to ask you an irrelevant question For app development What should I use java +android studio Swift +xcode react native
@thetransferaccount4586
@thetransferaccount4586 11 месяцев назад
very straightforward
@2perspektiva
@2perspektiva 2 года назад
So, how to send alert? (that you have mention at beginning)
@marhi3762
@marhi3762 3 года назад
Welcome back
@forexwithdoctor6105
@forexwithdoctor6105 3 года назад
Wonderful video!
@user-ql2zw3bg1l
@user-ql2zw3bg1l 3 года назад
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
@terminalcreeds443
@terminalcreeds443 3 года назад
how would i create a button in the bot and assign the button to some sort of function?
@keertilata20
@keertilata20 3 года назад
Cs dojo is back!!!
@anandamahaputra
@anandamahaputra 2 года назад
Thaks Sir for your tutorial : ) !!!
@iKh4ever
@iKh4ever 2 года назад
So nice explain brother.
@umamaheshbhasuru1512
@umamaheshbhasuru1512 3 года назад
Good yk really superb
@W_IQ
@W_IQ 2 года назад
Thank you so much ❤️
@NormanAvila
@NormanAvila 3 года назад
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 ?
@nelanitharanga311
@nelanitharanga311 2 года назад
Very useful video Thank You very much for this Video
@papachoudhary5482
@papachoudhary5482 3 года назад
Thanks! SIR
@diablolaggo870
@diablolaggo870 3 года назад
More telegram bot stuff!! Like fun cmds and a playlist!! Plssssplsss
@ouailnadzi832
@ouailnadzi832 3 года назад
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
@SanjayKumar-xn2xm
@SanjayKumar-xn2xm 3 года назад
finally you remember your youtube channel padsword
@mikethegamedev
@mikethegamedev 3 года назад
Hahahhaha pad sword
@shusol.o
@shusol.o 2 года назад
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
@mimosveta
@mimosveta 3 года назад
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
@hierkonnteihrewerbungstehe8008
@hierkonnteihrewerbungstehe8008 2 года назад
How can i read a message and save the text in a string?
@zx3215
@zx3215 2 года назад
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?
@meowmaple
@meowmaple Год назад
it is deployed to cloud platforms like AWS or Heroku, which will run ur code 24/7
@zx3215
@zx3215 Год назад
@@meowmaple thank you! Now I have some idea where to look for more info.
@quizzlerprofessor
@quizzlerprofessor 3 года назад
I love your work
@shantanubindhani1622
@shantanubindhani1622 3 года назад
That moment when he said, " and of course coding's really fun, so your.... Commands really matter here"😂
@dhanushkgowda8570
@dhanushkgowda8570 2 года назад
thats what make this tutorial good, it shows coding is not always rainbows and sunshine xD
@INDOGFX
@INDOGFX 2 года назад
i can't create the .env file in repl it...
@someoneattack3626
@someoneattack3626 2 года назад
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
@ADM_RAMconsumingfox
@ADM_RAMconsumingfox 2 года назад
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?
@enlightmentnurturewithsusm9387
@enlightmentnurturewithsusm9387 2 года назад
unable to add .env file , showing env files are depricated
@leetcodemermaid9804
@leetcodemermaid9804 2 года назад
you can find it in the left bar with a lock icon and add your API_KEY and key there
@nnk0o
@nnk0o 2 года назад
@@leetcodemermaid9804 thx bro
@nnk0o
@nnk0o 2 года назад
@@leetcodemermaid9804 4:51 the code still?
@Deepak-jv2ql
@Deepak-jv2ql 3 года назад
Are the professional certicates from google, IBM are accepted for visa instead of a CS degree? For software engineer job
@omgtoinie
@omgtoinie 2 года назад
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?
@pawelpow
@pawelpow 3 года назад
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
@c3vs241
@c3vs241 3 года назад
I agree, I use it to check my codes quickly 👍
@diablolaggo870
@diablolaggo870 3 года назад
Hell yeahh!!
@ivanyurchenko4091
@ivanyurchenko4091 2 года назад
thank you for vide. How to keep running my bot every time? When i stop it in Replit, then it does not work.
@albertluna1001
@albertluna1001 3 года назад
Hey can someone send me the documentation of this API please. Thanks!!
@natansun
@natansun 3 года назад
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?
@kartiksingh3154
@kartiksingh3154 3 года назад
can we get some sort of graph work also from this bot?
@onemorevideo7928
@onemorevideo7928 Год назад
Thank you so much for the video I try to follow it but as per 15 OCt 2022 the for PyTelegramBot API is at 4.7.0 and also we can not create .ENV files as the earlier part of ur video suggest. There is a new Secret function Tab on the Right. Can you please share with us an update? thank you so much
@TheJmrmx
@TheJmrmx 2 года назад
Nice video, what about to catch messages from another bot in a channel, does it work? I have tried but is not working
@duhmi
@duhmi 2 года назад
Could you give us a toturial about creating bottons in telegram bot
@8followsonik
@8followsonik 3 года назад
It's fine to see, but how to create a telegram bot with Python w/o any libraries?
@gamer99163
@gamer99163 2 года назад
Hello, please help me, how can I save a user input and then outputs it later on
@arladiesworld786
@arladiesworld786 Год назад
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?
@mattgwyer4888
@mattgwyer4888 2 года назад
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
@leehanglow4439
@leehanglow4439 2 года назад
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
@MrSatoV
@MrSatoV 2 года назад
@@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)
@mdjahangiralam1331
@mdjahangiralam1331 3 года назад
you should make a video on how teenagers can start learning coding.
@aa-mn5th
@aa-mn5th 2 года назад
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?
@joshitoshi9835
@joshitoshi9835 2 года назад
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
@defnotbot4314
@defnotbot4314 2 года назад
lets go replit!
@masterakashit7828
@masterakashit7828 3 года назад
I learned my python basics from here bro can you create kivymd tuts
@kryptoabi
@kryptoabi Год назад
AttributeError: 'TeleBot' object has no attribute 'message_handler' although I install telebot or pytelegrambotapi
@eli4s414
@eli4s414 3 года назад
Well that's neat
@kalpeshrawal7661
@kalpeshrawal7661 2 года назад
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. ?
@glnndino
@glnndino 2 года назад
maybe tutorial on how to create telegram bot that automatically forward messages from groups to groups? Thanks!
@user-nv2ff6fg2u
@user-nv2ff6fg2u 2 года назад
can't quite figure it out...why wouldn't you use a regular hosting instead of replit?
Далее
Barry Policeman And His Son Vs Prisoners
00:26
Просмотров 691 тыс.
How ChatGPT Built My App in Minutes 🤯
8:28
Просмотров 2 млн
How to Build Chatbot with Python & Rasa
2:28:05
Просмотров 41 тыс.
Modern Graphical User Interfaces in Python
11:12
Просмотров 1,4 млн
Learn Web Design For Beginners - Full Course (2024)
3:07:31