How to create a Telegram Bot for FREE in Python - Custom Responses
HTML-код
- Опубликовано: 4 ноя 2024
- In this lesson I will be showing you a sample algorithm that you can use to make your bot respond to more sentences. It will require you to get a bit creative, but that's the fun of programming!
Source Code: github.com/fed...
You have an amazing code knowledge!
I leave some tips for increase this tutorial course:
- make a private bot (based on personal ID)
- return an image/document from a command
- do some simple maths operation (based on input1 and input2)
- return the price value of stock index (Yahoo finance lib can be help, or just scraping somewhere)
- return different timezones
As you surely knows Python make the possibility to do everything.
Anyway are just some tips, i appreciate this course but i understand the time Is precious and probably you are focused on many other important things.
Thanks so much for your job!
Dajee
Please continue the series! 🐣
Thanks for your contributing
idk why u stopped this series and no more videos are coming up, im really looking forward.
So this was all about a chat bot but how about when user send some command the bot must process a certain function and sends output as reply?
For example, i have mapped /bypass command with a bypass function in python, so when user enters /bypass the bot must send as an argument to that function and send output as reply.
Great stuff! If we want the bot to work inside a private TG group (not just in PMs) we just have to invite it to our group and it’s gonna work the same? :)
I have not tried that! So I would have to do some research, but sounds interesting so I might try to make a tutorial about that later, but I can't say it will be soon 😁
Thanks it was very helpful
Sir, how to return a random response from a list if they say hi or hello...
great tutorial!
but I'm wondering if I want the bot to calculate some numbers like if I want it to calculate the BMI
how can I do this?
I mean like if I wrote some number it saves it as a variable so it can be calculated once I'm done
Off the top of my head I'd say that you can make a function that recognises the keyword "BMI" when you write to the bot, so if you wrote to the bot: "BMI 180cm 60kg", it could extract that the numbers from that to do and return the calculation.
what can i do about the edit configuration thing
Hi, thanks for the video!
Do you know if it is possible to save the pictures and files that are sent to a bot? I don't know if the Telegram bots are limited to just text messages.
My goal is to make a bot that can store the files that are sent to it in the local drive of my computer (where I'm running the Python code).
Thank you in advance!
cảm ơn bạn rất là nhiều về khóa học này ❤👍
hello how is send photo telegram message
example:
update.message.reply_photo (photo)
but error code :/ help pls
heyy can you continue thsi tutorials? buttons like that
How do i add multiple responses and make the bot send a random response
Great work
I tried to make menu with buttons but I can't please some help
Thanks
You can just put it in github
I put the code on GitHub
How to connect telegram and pycharm
Hi thanks for video
how can i send file to bot ?
Sir, how to do those things like while chatting with someone we can type "@" and the bot name... And then our bot pops up and does something
I just uploaded a new tutorial for group chat capabilities: ruclips.net/video/CNhswOLqeLM/видео.html
@@Indently thanks 🤩🤩🤩
@Code Palace How to Host the bot for free (turning on 24/7 pc is not possible)
Try searching for servers
@@Indently Can you make a video, how to host telegram bot in Heroku
From your video, it is simple to learn
I will consider it, but it might not be soon, so please continue doing research or you might need to wait a long time.
@@Indently Ok
Bro, I paid for this course 🤐
If your purchase was through GumRoad, then you are a major reason on why I was able to make this available to the public who don't have money.
If it was from any other website, please send me a link so I can claim the copyright infringement.