How to make a Telegram bot using Python

preview_player
Показать описание


NOTE: Code has changed since I made the video, still perfectly functional

-----------------
Рекомендации по теме
Комментарии
Автор

Thank you all the information aout Telegram Bot

wallpapersonthecomputersan
Автор

Hi I got error in first code: import requests. I don't have background prior to python. Please help. Thanks.

yuyakuchiki
Автор

Hello

of Telegram bots do you understand? I would like to know where I can find the code of the script..of the pdf download.

cro
Автор

when i run the code, after i introduced the bot with my friend it seems that after the debugging -- exception has occured : key error 'message'

can somebody help me please

hazmibadrunsham
Автор

the reuqests module did not exist. What might be the problem

tingxuanqu
Автор

sir can u show how to create a bot in telegram that converts url to .html and sends to the user in private

jathisswaranvalmurugan
Автор

This vidio is most good all the vidios

wallpapersonthecomputersan
Автор

I haven't desktop. How it's possible to code in mobile.i have only smartphone. Plz 🙏

sisep
Автор

Here I want to train bot as per my requirements but the code is being so lengthy. Is there any other solution to attach the conversation in python code? Thank you in advance.

ishashekh
Автор

How will I upload the code you provided to my bot or how will connect this to my pc server or as you said like pycharm or vs code!?

nostalgicbug
Автор

i've been trying to get my bot to work in a certain name, so basically i want to make it say uknown command when i type in something outside of a specific variable, but I'm coming across this issue that basically says unkown command even when I type in a valid command, for example i've made a help command, i get the output but i ALSO get the "Uknown command."

ratsec
Автор

When i run the code, it causes Error!!

Sheriff.Movement
Автор

dear sire
please ceate a bot which redirect msg from group or channel to other group/channel without qout,
i am waiting for this tutorial, please make a video

wxital
Автор

Where did you store your code?
And why you need a server?
If I don't have a server, bot will be disabled?

sorasama
Автор

Hi, nice video. When I try to run your code using the debuggin tool of VS code I get this error " ModuleNotFoundError: No module named 'requests' ", you know how to fix it?

Troyano
Автор

Thanks Sir a very good tutorial. How could I run the tg bot even when my pycharm server is shut down? Is that I need to upload the code to a third platform server? Thank you.

lovebirdbird
Автор

i have a error with import request is not found

asatbekxalimjonov
Автор

Traceback (most recent call last):
File "/Users/kvsnskmohan/PycharmProjects/pythonProject/TelegramBot.py", line 78, in <module>
main()
File "/Users/kvsnskmohan/PycharmProjects/pythonProject/TelegramBot.py", line 62, in main
first_chat_name =
KeyError
This my error how to resolve it

nagendramohan
Автор

ALEJANDRO! Me la juego apostando que sabes español (por tu blog) Voy a tratar de seguir tus instruccióne spara hacer un bot. No se nada de programación y lo unico que he hecho es modificar codigos html en blogs xD. Mi intención es crear un bot que pueda usar en un grupo de telegram, con el unico fin de bromear y ayudarme a tener algunas cosas organizadas, porque en ese grupo jugamos rol.

StefanoCarconeVasquez
Автор

How do I make it have multiple response? Thankyou

Ray-lnxw