Hi Vikas, I'm getting the below error when i try to run the chat bot program. What could be the reason??? Please help! 42 43 def send_msg(message): ---> 44 text = message["message"]["text"] 45 message_id = message["message"]["message_id"] 46 answer = auto_answer(text) KeyError: 'text'
Normal message except starting with '/' was not sensing by bot(as it had not message access, shown on the users list)... Then i make the bot as admin then bot was sensing all messages..
Thanks bro. In order to run the code 24*7 you should upload it on the server, so it runs forever. You can use Heroku to host your code for free and let it run forever. I've shown that in one of my videos. Please check that.
Hi Vikas, thank you a lot for that course. Was wondering if you know how to automatically send a poll or a quiz with the bot ? You did a video with the jokes and it works great but I want to do the same with polls/quiz. Thank you
@@VikasJha001 thanks for your response sir i will surely try 3rs and 4 th option , heroku is free i know but the problem is that it's a bit tricky to upload program on herku, but i will see that , thanks a lot
Thanks so much for making this video. But I have a question. Is there a way to automatically gather in public groups or channels, join them, and then automatically private message everyone in that group? A spambot, if you will..?
Can help me to understand how we can create channel , and create joining with expiry like only 1 person can join with given link after that it will get expired
hi sir can you please make a video on how to host it on vps or cpanel hosting. i already have one vps but i dont know how to run phyton code on that can you please guide us
Hi bro, what if I'm in a some other telegram group and want read msg automatically and use that info to do some other actions like taking trades like that...? If you have any resource I can go through....thanks 👍
@@VikasJha001 from @thegreat_satan regarding twitter sentiment analysis telegram bot. Sorry for disturb you. I know you are busy and recovering💐 from covid-19. But a help could be great sir. 🙏
dear Sir, i need my original account to send messages to anyone who messages me only 1 time , is that possibe , if you have made any video related to that, kindly share the link thanks
Hi Vikas and thank you for this very helpful tuto on telegram api. Question about "getUpdates"... It seems that messages send from the BOT are not retrieve in the list of message... Is there a way to get also msg sent by the BOT ? Thx again
Hey dude your awesome thanks!, I was wondering is there a way to upload a file to a bot once and let the user call the file when ever they need via telegram, without reuploading it every time?
hi sir, tks for the informative video!! i encountered this problem: 24 25 def auto_answer(message): ---> 26 answer = df.loc[df['Question'].str.lower() == message.lower()] 27 28 if not answer.empty: AttributeError: 'dict' object has no attribute 'lower' may i know how to solve this? tqsm
There are two ways: 1. Add your Telegram bot in the group and send messages. 2. Add yourself in the Telegram group and use Telethon to send messages. I have already created a video on Telethon, title name is auto-forward telegram messages. Please check that.
Thanks dear Vikas for such a detailed and easy to understand video on telegram bot. I have one query - how you handled " key error: result " which is a dictionary key -value error . You told in the video to solve it by adding "/getupdates " but it still persist though I check result key has values . Thanks .
If you need to get Telegram bot created, reach out on Fiver www.fiverr.com/sharimpervez/build-a-great-telegram-bot-for-you
Hi Vikas, I'm getting the below error when i try to run the chat bot program. What could be the reason??? Please help!
42
43 def send_msg(message):
---> 44 text = message["message"]["text"]
45 message_id = message["message"]["message_id"]
46 answer = auto_answer(text)
KeyError: 'text'
I have same error. how can i solve it?
Sir, please make a video on how to connect bot to websites .
Normal message except starting with '/' was not sensing by bot(as it had not message access, shown on the users list)... Then i make the bot as admin then bot was sensing all messages..
Thanks for updating. Seems Telegram has changed some of the things.
Dear Sir, i have a question that how do i keep getting latest chat id without writing old id in code?
Please use offset as I have shown in the course.
Please make video on pyrogram in hindi
Will try bro.
@@VikasJha001 yes your teaching way is too much good
hii i need ur telegram channel becoz i want to learn how to access all data victim channel on telegram or make any bot throu get data
You can explore about Telegram webhooks. It should help you in what you are trying to achieve.
bro, how to see reactions by whom in a telegram channel? is any python tool used to see ??
KeyError Traceback (most recent call last)
in ()
50
51 while True:
---> 52 offset = read_msg(offset)
1 frames
in send_msg(message)
34
35 def send_msg(message):
---> 36 text = message["message"]["text"]
37 message_id = message["message"]["message_id"]
38 answer = auto_answer(text)
KeyError: 'text'
You're a gem! Take Care!
Thank you for your kind words !!! You take care too.
how can i delete webhook? i am getting webhook error
ngl i dont even know why other make bots with telegram videos exist on youtube.
like idk why people use libraries for such a simple task
Yes bro, there is no need of any library, you can manage everything with simple API calls.
You are great and my favourite TH-camr Sir ❤️
Waiting for this ❤️❤️🙏
Hi Vikas, can you do a bot for me?
Please share the requirement on my email vijha1989@gmail.com
This course and you are great bro, but how I can run python script in background even if editor is off.
Thanks bro. In order to run the code 24*7 you should upload it on the server, so it runs forever. You can use Heroku to host your code for free and let it run forever. I've shown that in one of my videos. Please check that.
Hi Vikas, thank you a lot for that course.
Was wondering if you know how to automatically send a poll or a quiz with the bot ? You did a video with the jokes and it works great but I want to do the same with polls/quiz. Thank you
can u plz solve the eeror
I can't see anything on your screen...can you send a clear copy?
Thanks
Check the video in high definition please.
Bro i am getting an error in chat bot regarding keyerror: 'text'
It's in send_message function ["message"]["text"]
How to identify forwarded messages? or messages having images/videos? I want my bot to ignore ads or messages having header "forwarded from XYZ"
Heyy buddy
After 2 weeks ❤️
I was covid infected, Finally recovered now.
@@VikasJha001 Thank god! Stay safe bro 😇
@@VikasJha001 omg, thank god that you are now safe. Take time and rest as much you want, Be Safe, Stay Happy. ❤️
Thank you very much, this was very helpful in working out how to 'read' a message. The only video on the read side of telegram I could find.
Glad it helped 😀❤️
Please upload a video on how to make a bot and link it to Ali Express Affiliate
Everything is excellent sir !! just need to know if there is any free cloud or vps available??
You can use
1. Google Cloud, free for three months for new users.
2. Microsoft cloud free for a month for new users
3. Heroku
4. Pythonanywhere
@@VikasJha001 thanks for your response sir i will surely try 3rs and 4 th option , heroku is free i know but the problem is that it's a bit tricky to upload program on herku, but i will see that , thanks a lot
Thank you, your video is very informative. Can you tell how i can send message in the topic created under the group of telegram.
How to send pictures from local computer that part is deleted
great video
can you tell me
how to save result in json file like who asked question (user detail)
Thanks so much for making this video. But I have a question. Is there a way to automatically gather in public groups or channels, join them, and then automatically private message everyone in that group? A spambot, if you will..?
Bot can never initiate a conversation first, this is designed to avoid spamming individual users.
Can help me to understand how we can create channel , and create joining with expiry like only 1 person can join with given link after that it will get expired
How to receive an image or document and download it in python?
Tutorial on pyrogram.. library Will be great if you do..
please add translation in this video
i don't know a lot of English
How do you create buttons for your bot ? I seen some bots have buttons
I love the simplicity and the details in your presentation. I just immediately subscribed because of your elaborative approaches .
Good Job, bro.
Thanks
Brother can u tell how to send multiple questions from a pdf file in a quiz format
extremely good upload Vikas Jha. I killed the thumbs up on your video. Maintain up the excellent work.
Thanks bro, Glad to hear that it helped.
Why it's exited when i send image in the chat (in telegram not in program)
And how can i resolve that
Please help me🙏
Please check the syntax, or follow exactly as shown in this tutorial.
Helpful video sir now i can try this in my new scripts
Just install python and you can run the codes I have shown, follow other instructions as shown in the video as well.
@@VikasJha001 love u sir
Thanks for tutorial Vikas!!
Excellent, thanks.
Glad that it helped.
hi sir can you please make a video on how to host it on vps or cpanel hosting. i already have one vps but i dont know how to run phyton code on that can you please guide us
Sure bro, which is your VPS provider's name?
Con you please tell how to create that CSV file
Hi bro, what if I'm in a some other telegram group and want read msg automatically and use that info to do some other actions like taking trades like that...? If you have any resource I can go through....thanks 👍
Check my chatbot telegram video. It would answer your query, I believe.
Sir, please reply my insta message 🙏
Ok
@@VikasJha001 from @thegreat_satan regarding twitter sentiment analysis telegram bot.
Sorry for disturb you.
I know you are busy and recovering💐 from covid-19.
But a help could be great sir. 🙏
Amazing bro , Thanks
You have covered all useful commands with simple and easy explanation
Thank you very much
Glad it helped brother.
i love your tutorials and crash crouses bro, straight to the point, short and simple, easy to understand. Well done my man
Thanks for commenting and letting me know that. Glad to know that it is useful.
dear Sir,
i need my original account to send messages to anyone who messages me only 1 time , is that possibe , if you have made any video related to that, kindly share the link
thanks
Yes please check my previous tutorial on Telegram where I habe shown auto forwarding.
@@VikasJha001 ok thanks
Thank you a million times for making this video!!!!! It's super helpful for my project
Glad that it helped.
Or can I edit that file
sa at the soft i need help
Wonderful explanation.. subscribed 👍👍
Glad that it helped.
GOAT 🐐
Thanks bhai
You are Indian keep growing but your video is popular in us California, i am in California
Thanks bro
Hi great video! How can I add a what can this bot do? description to the telegram bot
In telegram botfather write /setdescription
Botfather will then set the description for you.
Were you able to do it?
Mozilla firefox has inbuilt json prettifier so it automatically displays the json as Tree view.
you make really good tutorials. great work man
Glad it helped.
Hi Vikas and thank you for this very helpful tuto on telegram api. Question about "getUpdates"... It seems that messages send from the BOT are not retrieve in the list of message... Is there a way to get also msg sent by the BOT ? Thx again
Hey dude your awesome thanks!, I was wondering is there a way to upload a file to a bot once and let the user call the file when ever they need via telegram, without reuploading it every time?
There is bro, probably, i would upload a video on that.
hi sir, tks for the informative video!! i encountered this problem:
24
25 def auto_answer(message):
---> 26 answer = df.loc[df['Question'].str.lower() == message.lower()]
27
28 if not answer.empty:
AttributeError: 'dict' object has no attribute 'lower'
may i know how to solve this? tqsm
Please use the code from google collab which I have shared.
im also having "text error" again and again and again
please sir need solution
KeyError Traceback (most recent call last)
in ()
50
51 while True:
---> 52 offset = read_msg(offset)
1 frames
in send_msg(message)
34
35 def send_msg(message):
---> 36 text = message["message"]["text"]
37 message_id = message["message"]["message_id"]
38 answer = auto_answer(text)
KeyError: 'text'
🙏🙏💪 ty well done
Obviously. You r great bhai
Thanks for such a detailed course
Please Keep it on 😊
Thanks man for encouraging words.
hi, thanks for this amazing tutorial please how we can send the video from the URL??
thanks bro
thanks bro
Very Good Tutorial
Thank You So Much
Thanks. Do subscribe.
@@VikasJha001 Always Subscribed
Nice presentation 👍🏻
Thank you 🙂
Sirji dusre k telegram group m logo ko bulk message karna h kaise kare
There are two ways:
1. Add your Telegram bot in the group and send messages.
2. Add yourself in the Telegram group and use Telethon to send messages. I have already created a video on Telethon, title name is auto-forward telegram messages. Please check that.
@@VikasJha001 thank you sir for reply
cheers mate ,crystal clear and good editing😀👍😀👍
Glad it helped 😀
can you please provide us the source code
Thanks dear Vikas for such a detailed and easy to understand video on telegram bot. I have one query - how you handled " key error: result " which is a dictionary key -value error . You told in the video to solve it by adding "/getupdates " but it still persist though I check result key has values . Thanks .
OSM COURSE BRO ❤️
Glad 🙂 Do Subscribe 🙏🏻
Great video man. Good luck with your career.
Awesome teaching
sir how to get chat id for one to one interaction for everyone so that it automatcally updates?!