Basics of creating a Telegram bot (with code/Python)

  Рет қаралды 43,837

Steve's teacher

Steve's teacher

Күн бұрын

Coding a Telegram bot is pretty simple! In less than 10 lines of code you got your first command ready to be executed! Creating a Telegram is as simple as importing the module and starting up the bot!
You're not much of a programmer? Learn how to create a working bot on Telegram without any code: • How to create a bot on...
Telegram Bot API: core.telegram....
pyTelegramBotAPI: github.com/ete...
Subscribe for more videos: www.youtube.co...
For more programming videos, feel free to subscribe to my 2nd channel: / @programmervibe
Python Programming Tutorials: • (Old) Python Programmi...
C++ Programming Tutorials: • C++ Projects
Lua Programming Tutorials: • Lua Programming Tutorials
Become a Web Developer: • Become a Web Developer
HTML Tutorials: • HTML Course
TKinter Tutorials: • Tkinter Tutorials
Linux Tutorials/Videos: • Linux Videos
Delphi Programming Tutorials: • Delphi Programming (Tu...
Godot Game Dev Tutorials: • Godot Game Dev Tutorials
How-to videos: • How to
Crash Courses: • Crash Courses
MySQL Tutorials: • MySQL Tutorials
Japanese Lessons: • Japanese Lessons
Group Chats:
Weeb Chat: t.me/weeb_haven
Programmer Haven: t.me/programme...
You can contact me on:
Email: StevesTeacherYT@gmail.com
Discord: / discord
Kitsu: kitsu.io/users...
Twitter: @stevesteacherYT or click here: st...
Hey there!!! Wanna help support the channel :D? You can donate on PayPal: paypal.me/step...
Any suggestions? Leave it in the comment section or contact me somewhere else!
Thank you for watching!
#stevesteacher #telebot #bot #telegram #code #coding #programming #api #telebot #telepy #python #py #python3 #tg #telegramapi

Пікірлер: 57
@Stevesteacher
@Stevesteacher 3 жыл бұрын
Hello everyone! First, I'd like to thank you for watching this video, I had a ton of fun making it! Second, if you have any questions, feel free to leave them in the comment section below, or to checkout the docs (links in description) :) Also, if you enjoyed the video, please leave a like and subscribe, it would mean a lot :D
@kalahari8295
@kalahari8295 2 жыл бұрын
❤️ Best have seen on KZbin 🔥 Others just abstracted the syntax of the package. I really appreciate ✅
@elizadelgado1521
@elizadelgado1521 3 ай бұрын
Has any one used the message_reaction under the Update section of the Telegram Bot API docs? I want to create a bot that records who reacts to messages sent to the groups and the amount of reactions in a group.
@bitcloud-botemnuvem9256
@bitcloud-botemnuvem9256 2 жыл бұрын
How to use it with multiprocess ? PLEASE DO A VIDEO EXPLAIN IT
@ProgrammingWithManojSharma
@ProgrammingWithManojSharma 2 жыл бұрын
Create a video in which we have nested inline menu
@studiospan6426
@studiospan6426 11 ай бұрын
Hey steve, i want to setup a key based authentication for premium and normal users on my bot . can you please help me it. i would greatly appreciate it
@fabian_ftn6604
@fabian_ftn6604 2 жыл бұрын
How do I make bot reply to message without then being a command?
@dhrumilchauhan9420
@dhrumilchauhan9420 Жыл бұрын
bro this tutorial was really helpful i was searching here and there to learn how to crate bot. but really you have explained very deeply
@cyruskabir16
@cyruskabir16 2 жыл бұрын
Great job buddy. Helped me a lot!
@peroboy99
@peroboy99 Жыл бұрын
Hey bro please help me 😭it shows error like TypeError :__init__() got an unexpected key word argument 'parse_word' Please help thanks🌹❤🌹
@Stevesteacher
@Stevesteacher Жыл бұрын
You still have this issue? 👀
@akifsalleh2043
@akifsalleh2043 2 жыл бұрын
Can you help me how to hosting this code to make the telegram bot active forever?
@Abd-cw1rz
@Abd-cw1rz Жыл бұрын
you cant imagine how much i was struggling with creating telegram bot as a beginner and as a non native English speaker you explained everything so good best than anyone did best video ever, liked and subscribed.
@fendi3184
@fendi3184 Жыл бұрын
I’m sorry bro but you don’t explain nothing how am I suppose to create a bot without knowing I had to have visual studio code?
@Stevesteacher
@Stevesteacher Жыл бұрын
Just use a different text editor, VSCode is just what I prefer, but it is not required
@jagginapavan7949
@jagginapavan7949 Жыл бұрын
Hello how to create bot for telegram
@younesalgerian4179
@younesalgerian4179 2 жыл бұрын
unlimited size!
@namtran4638
@namtran4638 Жыл бұрын
how to make a dice . Help me
@saralika9643
@saralika9643 2 жыл бұрын
How u control backend?
@jobianstechie
@jobianstechie 2 жыл бұрын
Good job
@notfunkypotato
@notfunkypotato 2 жыл бұрын
THIS IS THE BEST VIDEO EVER
@dennysgrimaldi9623
@dennysgrimaldi9623 2 жыл бұрын
i learn a lot from your video, thx. Now it's my time to pull out a first bot
@StorybookProduction
@StorybookProduction 2 жыл бұрын
Hi there! Im curious how do you make the bot reply with a picture after a user send a regexp? Thanks!
@afeef5226
@afeef5226 2 жыл бұрын
wondering about the same thing, have you found a solution?
@valhallamusic6187
@valhallamusic6187 3 жыл бұрын
🌻
@dragon444676
@dragon444676 Жыл бұрын
I get ModuleNotFoundError: No module named 'telebot'
@Stevesteacher
@Stevesteacher Жыл бұрын
You need to install the module as shown in the video using pip
@ashutoshpatel5030
@ashutoshpatel5030 3 жыл бұрын
🔥
@peroboy99
@peroboy99 Жыл бұрын
Hey bro how can i deploy this bot??
@Stevesteacher
@Stevesteacher Жыл бұрын
I think one of the simplest ways would be to host it on Google Cloud or AWS (or any hosting provider that will allow it)
@peroboy99
@peroboy99 Жыл бұрын
@@Stevesteacher yes teacher but can you please make a video on that
@peroboy99
@peroboy99 Жыл бұрын
@@Stevesteacher please make a video on that
@sportshighlight390
@sportshighlight390 2 жыл бұрын
good job
@arthurrogado
@arthurrogado 2 жыл бұрын
Nice video!
@GAMERICEKING
@GAMERICEKING 2 жыл бұрын
Nice video you deserve many likes n subscribers😊
@Stevesteacher
@Stevesteacher 2 жыл бұрын
Thank you so much :D
@babywaffles
@babywaffles Жыл бұрын
Heads up tip for everyone, when using the decorator function, "@bot.message_handler(func=lambda message:True)", and you want to check for a custom user input that is not inside the dictionary or an array but attempting to do so causes the bot to jump to another function due to multiple of that same decorator, you can use bot.register_next_step_handler(message,) to do the custom user input logic checking. It took me a week to figure it out.
@thereisonlyonegod3807
@thereisonlyonegod3807 Жыл бұрын
Everything is working for me, but my VScode is showing yellow line under telebot though it is same interpreter i am using for project. Can you help please? (Still it works but i dont know why line is there)
@cranberry888
@cranberry888 3 жыл бұрын
I'm from reddit, thanks a lot for the videos, he was useful to me
@Stevesteacher
@Stevesteacher 3 жыл бұрын
Happy to help :)
@teametf2532
@teametf2532 2 жыл бұрын
Wow! You're scary!
@Stevesteacher
@Stevesteacher 2 жыл бұрын
H-how :')
@tinanghong2268
@tinanghong2268 Жыл бұрын
How to get the value of the dice?
@Stevesteacher
@Stevesteacher Жыл бұрын
I recommend taking a look at the documentation ;)
@friday2.054
@friday2.054 2 жыл бұрын
What if I want to send a photo
@Stevesteacher
@Stevesteacher 2 жыл бұрын
The API docs are linked in the description ;)
@friday2.054
@friday2.054 2 жыл бұрын
@@Stevesteacher thanku....l will look at it again...but will you please make a short video on it....By the way...really informative video
@friday2.054
@friday2.054 2 жыл бұрын
@@Stevesteacher Actually I spend a whole day (today) on it.....but I didnt find anything.....while searching I found your video....so it is request ....
@tanyalouise3586
@tanyalouise3586 2 жыл бұрын
Getting this error: Traceback (most recent call last): File "c:\Users\DELL\Documents\python\telegrambot.py", line 5, in bot = telebot.Telebot(API_KEY) AttributeError: module 'telebot' has no attribute 'Telebot'
@Stevesteacher
@Stevesteacher 2 жыл бұрын
Remember to install telebot via pip (make sure to install the correct one, pip install pyTelegramBotAPI), then you need to import it with: import telebot, then make sure to capitalize that 'b' in telebot.Telebot, so it is: telebot.TeleBot
@reculture
@reculture 2 жыл бұрын
Sounds to me that you suffer lisp or some similarly annoying speech impediment, if thats the case i hope you get well. good luck
@nicolas06gaming6
@nicolas06gaming6 2 жыл бұрын
thats fuckin high IQ LEVEL RIGHT HERE, best ytbe vids my brother. he make youunderstand every line of code, and you can start coding while understanding every thing
@reculture
@reculture 2 жыл бұрын
lol you have low expectations mate. He's literally copying sample code from github link above, with every so often repeats: "i don't know what this means/does, but go on and use it"
@ClaudioBOsorio
@ClaudioBOsorio 2 жыл бұрын
Hihi thanks for the video! It's very helpful. If you don't mind me asking, how could I make the bot read a few strings in sequence like.. Give name , user enters name, give lastname , user enters lastname... Thanks!
@thePureSounds
@thePureSounds 2 жыл бұрын
Have you figured this out?
How To Create A Telegram Bot With Python
20:23
CS Dojo
Рет қаралды 627 М.
Life hack 😂 Watermelon magic box! #shorts by Leisi Crazy
00:17
Leisi Crazy
Рет қаралды 13 МЛН
Spongebob ate Michael Jackson 😱 #meme #spongebob #gmod
00:14
Mr. LoLo
Рет қаралды 10 МЛН
Остановили аттракцион из-за дочки!
00:42
Victoria Portfolio
Рет қаралды 3,8 МЛН
Пишем Telegram Bot на Python / Создание ботов для начинающих за 30 минут
23:52
Эльбрус Буткемп: школа программирования
Рет қаралды 329 М.
Code a Discord Bot with Python - Host for Free in the Cloud
1:08:28
freeCodeCamp.org
Рет қаралды 2,4 МЛН
NSURLProtocol: How I Stole an App For My Wedding
56:25
Bryce Bostwick
Рет қаралды 38 М.
ChatGPT Tutorial - Create a Chatbot for Discord with Python
24:04
Simple Code, High Performance
2:50:14
Molly Rocket
Рет қаралды 252 М.
Telegram Birthday Bot in Python - Never Forget One Again
33:58
NeuralNine
Рет қаралды 12 М.