Telegram Automation Crash Course | Telegram Automation With Python

Sdílet
Vložit
  • čas přidán 23. 07. 2024
  • Learn More Here: www.itpanther.com/blogs/ Subscribe to Support the channel: czcams.com/users/vikasjha001?sub...
    Need help? Message me on LinkedIn: / vikasjha001
    Want to connect on Instagram? Here is my id @vikasjha001 Complete Telegram Automation Crash Course. In this course you are going to learn below topics:
    0:00:00 Telegram Bot Automation Overview
    0:01:08 Bot Creation Steps Intro
    0:03:05 API Quick Intro
    0:04:45 Required Software
    0:07:34 Creating Telegram Bot
    0:10:58 GetUpdates From Bot
    0:19:54 Get Updates From Bot UsingPython
    0:22:15 GetUpdates Offset ID
    0:27:31 Passing Parameter Data To API Best Approach
    0:33:11 Sending Messages In A Group
    0:41:17 Sending Photo
    0:47:15 Sending Audio
    0:48:34 Sending Audio File From Local Computer
    0:50:02 Sending A Document File
    0:51:34 Replying To A Message In The Group
    0:59:22 Reading And Replying New Messages
    1:02:53 Telegram Chatbot
    1:13:00 Replying To Any Message With Mentioning Replied Message
    Link of Google Colab Code: colab.research.google.com/dri...
    Learn All About Google Colab: • Jupyter Notebook Tutor...
    Python Course for Beginners: • #Python for Beginners ...
    Hashtags: #TelegramPython #TelegramAutomation #Telegram Sign up to Skillshare using this link and get one month free membership.
    itpanther.com/skillshare Buy my Udemy courses at a special price for a limited time:
    ✅ www.itpanther.com/prometheus-...
    ✅ www.itpanther.com/grafana
    ✅ www.itpanther.com/python
    ✅ www.itpanther.com/liferay
    ✅ www.itpanther.com/apachenifia...
    ✅ www.itpanther.com/apachenifi
    ✅ www.itpanther.com/redis
    🤝 For collaboration or other inquiries connect
    📧 Email: learnwithvikasjha@gmail.com
    📞 Whatsapp: +917042103414
    Connect on Social Media:
    LinkedIn: / vikasjha001
    Twitter: / vikasjha001
    Instagram: / vikasjha001
    🚀 Enjoying our tech videos? Help us raise a virtual toast! 🍻
    If you've found our tech insights, tutorials, and reviews valuable, consider supporting us by buying us a virtual beer. Your contribution helps us continue creating quality content, investing in better equipment, and exploring even more exciting tech topics.
    🍻 Your support means the world to us! Every "beer" brings us closer to creating more engaging, informative, and fun tech content for you.
    🍺 www.buymeacoffee.com/learnwit... 🍺
    Thank you for being a part of our tech community. Together, we can make technology more accessible and enjoyable for everyone!
    Stay tuned for more tech adventures! 📱💻🎮
  • Věda a technologie

Komentáře • 129

  • @VikasJha001
    @VikasJha001  Před rokem +1

    If you need to get Telegram bot created, reach out on Fiver www.fiverr.com/sharimpervez/build-a-great-telegram-bot-for-you

  • @dennyyeo12
    @dennyyeo12 Před 2 lety +2

    i love your tutorials and crash crouses bro, straight to the point, short and simple, easy to understand. Well done my man

    • @VikasJha001
      @VikasJha001  Před 2 lety

      Thanks for commenting and letting me know that. Glad to know that it is useful.

  • @ermiasdejene
    @ermiasdejene Před 2 lety +3

    I love the simplicity and the details in your presentation. I just immediately subscribed because of your elaborative approaches .
    Good Job, bro.

  • @chickanan1
    @chickanan1 Před rokem

    Great video man. Good luck with your career.

  • @日本語大好き
    @日本語大好き Před 3 lety +4

    You are great and my favourite CZcamsr Sir ❤️

  • @priyabratsinha7539
    @priyabratsinha7539 Před 3 lety +5

    Waiting for this ❤️❤️🙏

  • @HarukiToHaruka
    @HarukiToHaruka Před 2 lety +1

    Thank you a million times for making this video!!!!! It's super helpful for my project

  • @scrypt5309
    @scrypt5309 Před 3 lety +1

    cheers mate ,crystal clear and good editing😀👍😀👍

  • @rohitswain2930
    @rohitswain2930 Před 2 lety +1

    Obviously. You r great bhai
    Thanks for such a detailed course
    Please Keep it on 😊

  • @shivamsahu9998
    @shivamsahu9998 Před rokem +1

    You have covered all useful commands with simple and easy explanation
    Thank you very much

  • @globalfinancetrading
    @globalfinancetrading Před 9 měsíci +1

    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.

  • @bharatsoni9577
    @bharatsoni9577 Před 2 lety +1

    Thanks for tutorial Vikas!!

  • @SHIVAMKRTH
    @SHIVAMKRTH Před 2 lety +1

    Amazing bro , Thanks

  • @ccmoradia
    @ccmoradia Před 3 lety +9

    You're a gem! Take Care!

    • @VikasJha001
      @VikasJha001  Před 3 lety +2

      Thank you for your kind words !!! You take care too.

  • @KeyserTheRedBeard
    @KeyserTheRedBeard Před 2 lety +1

    extremely good upload Vikas Jha. I killed the thumbs up on your video. Maintain up the excellent work.

    • @VikasJha001
      @VikasJha001  Před 2 lety

      Thanks bro, Glad to hear that it helped.

  • @Jim-hw4bx
    @Jim-hw4bx Před 2 lety +4

    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

  • @mehdismaeili3743
    @mehdismaeili3743 Před rokem +1

    Excellent, thanks.

  • @ketaksingh5465
    @ketaksingh5465 Před rokem

    Awesome teaching

  • @Nandaaditya92
    @Nandaaditya92 Před 2 lety +1

    Wonderful explanation.. subscribed 👍👍

  • @georgy2395
    @georgy2395 Před 2 měsíci +1

    bro, how to see reactions by whom in a telegram channel? is any python tool used to see ??

  • @thetransferaccount4586
    @thetransferaccount4586 Před rokem +1

    you make really good tutorials. great work man

  • @maamounhajnajeeb209
    @maamounhajnajeeb209 Před rokem

    thanks bro

  • @M0ntanaT
    @M0ntanaT Před rokem

    🙏🙏💪 ty well done

  • @JarvisAlgo
    @JarvisAlgo Před rokem

    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

  • @dramestro9822
    @dramestro9822 Před 2 lety +1

    How to identify forwarded messages? or messages having images/videos? I want my bot to ignore ads or messages having header "forwarded from XYZ"

  • @sumanbapass2151
    @sumanbapass2151 Před 3 lety +2

    Helpful video sir now i can try this in my new scripts

    • @VikasJha001
      @VikasJha001  Před 3 lety +1

      Just install python and you can run the codes I have shown, follow other instructions as shown in the video as well.

    • @sumanbapass2151
      @sumanbapass2151 Před 3 lety +1

      @@VikasJha001 love u sir

  • @atefehz6606
    @atefehz6606 Před 2 lety +1

    How do you create buttons for your bot ? I seen some bots have buttons

  • @inverse_thoughts
    @inverse_thoughts Před 2 lety

    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 .

  • @surareddy
    @surareddy Před 2 lety +1

    Very Good Tutorial
    Thank You So Much

  • @Lovelife-ce6qz
    @Lovelife-ce6qz Před 3 lety +1

    OSM COURSE BRO ❤️

  • @tanujnegi1058
    @tanujnegi1058 Před rokem

    Thank you, your video is very informative. Can you tell how i can send message in the topic created under the group of telegram.

  • @rajeevparashar6813
    @rajeevparashar6813 Před rokem +1

    Sir, please make a video on how to connect bot to websites .

  • @technostartups
    @technostartups Před 2 lety +1

    great video
    can you tell me
    how to save result in json file like who asked question (user detail)

  • @udeepghanta3461
    @udeepghanta3461 Před rokem +1

    Bro i am getting an error in chat bot regarding keyerror: 'text'
    It's in send_message function ["message"]["text"]

  • @onetick3724
    @onetick3724 Před rokem

    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

  • @mygameera
    @mygameera Před rokem +1

    how can i delete webhook? i am getting webhook error

  • @vishnuprasad7971
    @vishnuprasad7971 Před 2 lety +1

    Nice presentation 👍🏻

  • @subhashreepradhan3426

    Con you please tell how to create that CSV file

  • @PawitSahare
    @PawitSahare Před rokem

    You are Indian keep growing but your video is popular in us California, i am in California

  • @vishnuprasad7971
    @vishnuprasad7971 Před 2 lety +1

    Tutorial on pyrogram.. library Will be great if you do..

  • @bangalibabu4856
    @bangalibabu4856 Před 2 lety +1

    How to send pictures from local computer that part is deleted

  • @ei8htb8ll
    @ei8htb8ll Před 3 lety +2

    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..?

    • @VikasJha001
      @VikasJha001  Před 2 lety +1

      Bot can never initiate a conversation first, this is designed to avoid spamming individual users.

  • @renardi_adryan
    @renardi_adryan Před 2 lety +1

    How to receive an image or document and download it in python?

  • @Furfur-rj2tw
    @Furfur-rj2tw Před 2 lety +1

    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?

    • @VikasJha001
      @VikasJha001  Před 2 lety +1

      There is bro, probably, i would upload a video on that.

  • @narsisunkariya
    @narsisunkariya Před rokem

    Brother can u tell how to send multiple questions from a pdf file in a quiz format

  • @subhashreepradhan3426

    Or can I edit that file

  • @日本語大好き
    @日本語大好き Před 3 lety +2

    Dear Sir, i have a question that how do i keep getting latest chat id without writing old id in code?

    • @VikasJha001
      @VikasJha001  Před 3 lety +1

      Please use offset as I have shown in the course.

  • @ggtechnocracy6709
    @ggtechnocracy6709 Před 2 lety +1

    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
      @VikasJha001  Před 2 lety

      Check my chatbot telegram video. It would answer your query, I believe.

  • @alexdin1565
    @alexdin1565 Před 2 lety

    hi, thanks for this amazing tutorial please how we can send the video from the URL??

  • @primavisiglobalindo4182
    @primavisiglobalindo4182 Před 2 lety +1

    Heyy buddy

  • @amitchaudhary6
    @amitchaudhary6 Před rokem

    Mozilla firefox has inbuilt json prettifier so it automatically displays the json as Tree view.

  • @RahulDebBhandari
    @RahulDebBhandari Před 2 lety +1

    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..

    • @VikasJha001
      @VikasJha001  Před 2 lety

      Thanks for updating. Seems Telegram has changed some of the things.

  • @terabyte4u901
    @terabyte4u901 Před 2 lety +1

    can u plz solve the eeror

  • @markop99
    @markop99 Před 3 lety +2

    Everything is excellent sir !! just need to know if there is any free cloud or vps available??

    • @VikasJha001
      @VikasJha001  Před 3 lety

      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

    • @markop99
      @markop99 Před 3 lety +1

      @@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

  • @khabylamefun8080
    @khabylamefun8080 Před 3 lety +1

    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

    • @VikasJha001
      @VikasJha001  Před 2 lety

      Sure bro, which is your VPS provider's name?

  • @bergweng6010
    @bergweng6010 Před 2 lety

    sa at the soft i need help

  • @vijaykumarchauhan1692
    @vijaykumarchauhan1692 Před 2 lety +1

    This course and you are great bro, but how I can run python script in background even if editor is off.

    • @VikasJha001
      @VikasJha001  Před 2 lety

      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.

  • @user-yj2zu1fd4k
    @user-yj2zu1fd4k Před 9 dny

    Please upload a video on how to make a bot and link it to Ali Express Affiliate

  • @Harshaaaaaaa
    @Harshaaaaaaa Před 3 lety +4

    After 2 weeks ❤️

    • @VikasJha001
      @VikasJha001  Před 3 lety +6

      I was covid infected, Finally recovered now.

    • @Harshaaaaaaa
      @Harshaaaaaaa Před 3 lety +5

      @@VikasJha001 Thank god! Stay safe bro 😇

    • @日本語大好き
      @日本語大好き Před 3 lety +4

      @@VikasJha001 omg, thank god that you are now safe. Take time and rest as much you want, Be Safe, Stay Happy. ❤️

  • @NoName-dx3bh
    @NoName-dx3bh Před rokem +1

    GOAT 🐐

  • @dheerajtiwari8799
    @dheerajtiwari8799 Před 2 lety +1

    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🙏

    • @VikasJha001
      @VikasJha001  Před 2 lety

      Please check the syntax, or follow exactly as shown in this tutorial.

  • @saaragameryt2023
    @saaragameryt2023 Před 10 měsíci

    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

    • @VikasJha001
      @VikasJha001  Před 9 měsíci

      You can explore about Telegram webhooks. It should help you in what you are trying to achieve.

  • @fattypipe8875
    @fattypipe8875 Před 3 lety +1

    Hi great video! How can I add a what can this bot do? description to the telegram bot

    • @VikasJha001
      @VikasJha001  Před 3 lety

      In telegram botfather write /setdescription
      Botfather will then set the description for you.

    • @VikasJha001
      @VikasJha001  Před 3 lety

      Were you able to do it?

  • @iamop9211
    @iamop9211 Před 3 lety +1

    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

    • @VikasJha001
      @VikasJha001  Před 3 lety

      Yes please check my previous tutorial on Telegram where I habe shown auto forwarding.

    • @iamop9211
      @iamop9211 Před 3 lety

      @@VikasJha001 ok thanks

  • @marcomanferdini
    @marcomanferdini Před 3 lety +1

    Hi Vikas, can you do a bot for me?

    • @VikasJha001
      @VikasJha001  Před 3 lety

      Please share the requirement on my email vijha1989@gmail.com

  • @chanjiehua916
    @chanjiehua916 Před 3 lety +1

    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

    • @VikasJha001
      @VikasJha001  Před 3 lety

      Please use the code from google collab which I have shared.

    • @trendingvibes1375
      @trendingvibes1375 Před 2 lety

      im also having "text error" again and again and again
      please sir need solution

    • @trendingvibes1375
      @trendingvibes1375 Před 2 lety

      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'

  • @stanleyakpu5690
    @stanleyakpu5690 Před 2 lety +1

    I can't see anything on your screen...can you send a clear copy?
    Thanks

    • @VikasJha001
      @VikasJha001  Před rokem

      Check the video in high definition please.

  • @TUSHARHii
    @TUSHARHii Před 3 lety +1

    Sirji dusre k telegram group m logo ko bulk message karna h kaise kare

    • @VikasJha001
      @VikasJha001  Před 3 lety +1

      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.

    • @TUSHARHii
      @TUSHARHii Před 3 lety

      @@VikasJha001 thank you sir for reply

  • @NoName-dx3bh
    @NoName-dx3bh Před rokem +1

    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

    • @VikasJha001
      @VikasJha001  Před rokem

      Yes bro, there is no need of any library, you can manage everything with simple API calls.

  • @anuvabsen
    @anuvabsen Před 2 lety +1

    sir how to get chat id for one to one interaction for everyone so that it automatcally updates?!

  • @kingfunny4821
    @kingfunny4821 Před 2 lety +1

    please add translation in this video
    i don't know a lot of English

  • @Funwithayyu
    @Funwithayyu Před rokem +1

    Please make video on pyrogram in hindi

  • @mrnoob8648
    @mrnoob8648 Před rokem

    can you please provide us the source code

  • @thegreat_sanatani
    @thegreat_sanatani Před 3 lety +1

    Sir, please reply my insta message 🙏

    • @VikasJha001
      @VikasJha001  Před 3 lety

      Ok

    • @thegreat_sanatani
      @thegreat_sanatani Před 3 lety

      @@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. 🙏

  • @satishkumar-vw9yc
    @satishkumar-vw9yc Před 2 lety +2

    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'

  • @trendingvibes1375
    @trendingvibes1375 Před 2 lety +1

    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'

  • @anilrathore.bigthink
    @anilrathore.bigthink Před rokem

    thanks bro