Basics of creating a Telegram bot (with code/Python)
Vložit
- čas přidán 21. 08. 2021
- 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.org/bots/api
pyTelegramBotAPI: github.com/eternnoir/pyTelegr...
Subscribe for more videos: czcams.com/users/stevesteacher...
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/programmer_haven
You can contact me on:
Email: StevesTeacherYT@gmail.com
Discord: / discord
Kitsu: kitsu.io/users/Netsu
Twitter: @stevesteacherYT or click here: stevesteacherYT?s=09
Hey there!!! Wanna help support the channel :D? You can donate on PayPal: paypal.me/stephenvdw?locale.x...
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 - Věda a technologie
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
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.
❤️ Best have seen on CZcams 🔥
Others just abstracted the syntax of the package. I really appreciate ✅
Great job buddy. Helped me a lot!
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
i learn a lot from your video, thx.
Now it's my time to pull out a first bot
I'm from reddit, thanks a lot for the videos, he was useful to me
Happy to help :)
THIS IS THE BEST VIDEO EVER
Can you help me how to hosting this code to make the telegram bot active forever?
Nice video!
Create a video in which we have nested inline menu
How u control backend?
Nice video you deserve many likes n subscribers😊
Thank you so much :D
How do I make bot reply to message without then being a command?
Hi there!
Im curious how do you make the bot reply with a picture after a user send a regexp?
Thanks!
wondering about the same thing, have you found a solution?
How to use it with multiprocess ?
PLEASE DO A VIDEO EXPLAIN IT
how to make a dice . Help me
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
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.
Good job
Hello how to create bot for telegram
good job
🔥
How to get the value of the dice?
I recommend taking a look at the documentation ;)
🌻
Hey bro please help me 😭it shows error like
TypeError :__init__() got an unexpected key word argument 'parse_word'
Please help thanks🌹❤🌹
You still have this issue? 👀
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!
Have you figured this out?
I get ModuleNotFoundError: No module named 'telebot'
You need to install the module as shown in the video using pip
Hey bro how can i deploy this bot??
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)
@@Stevesteacher yes teacher but can you please make a video on that
@@Stevesteacher please make a video on that
What if I want to send a photo
The API docs are linked in the description ;)
@@Stevesteacher thanku....l will look at it again...but will you please make a short video on it....By the way...really informative video
@@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 ....
unlimited size!
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
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"
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.
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)
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'
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
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?
Just use a different text editor, VSCode is just what I prefer, but it is not required
Wow! You're scary!
H-how :')
Sounds to me that you suffer lisp or some similarly annoying speech impediment, if thats the case i hope you get well. good luck