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

Комментарии • 32

  • @NovaMetrics
    @NovaMetrics 3 года назад +4

    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

  • @techniversebd
    @techniversebd 3 месяца назад

    Please continue the series! 🐣

  • @trannhatnam6489
    @trannhatnam6489 3 года назад +1

    Thanks for your contributing

  • @joshitoshi9835
    @joshitoshi9835 Год назад

    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.

  • @techstacker5361
    @techstacker5361 3 года назад +2

    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? :)

    • @Indently
      @Indently  3 года назад +2

      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 😁

  • @brokenhearted2482
    @brokenhearted2482 2 года назад +1

    Thanks it was very helpful

  • @yzx666
    @yzx666 3 года назад

    Sir, how to return a random response from a list if they say hi or hello...

  • @namelessunknown9970
    @namelessunknown9970 3 года назад +1

    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

    • @Indently
      @Indently  3 года назад

      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.

  • @LidaTheBishop
    @LidaTheBishop Год назад

    what can i do about the edit configuration thing

  • @visantibanez
    @visantibanez 2 года назад

    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!

  • @ngothanh1903
    @ngothanh1903 Год назад

    cảm ơn bạn rất là nhiều về khóa học này ❤👍

  • @g0khanbey
    @g0khanbey 2 года назад

    hello how is send photo telegram message
    example:
    update.message.reply_photo (photo)
    but error code :/ help pls

  • @virgo2004
    @virgo2004 2 года назад

    heyy can you continue thsi tutorials? buttons like that

  • @dionjoshua6433
    @dionjoshua6433 3 года назад

    How do i add multiple responses and make the bot send a random response

  • @zz-xr2jo
    @zz-xr2jo 3 года назад +1

    Great work
    I tried to make menu with buttons but I can't please some help
    Thanks

    • @zz-xr2jo
      @zz-xr2jo 3 года назад

      You can just put it in github

    • @Indently
      @Indently  3 года назад

      I put the code on GitHub

  • @KCSHREESAKTHIG
    @KCSHREESAKTHIG 2 года назад

    How to connect telegram and pycharm

  • @mohammadreza6192
    @mohammadreza6192 2 года назад

    Hi thanks for video
    how can i send file to bot ?

  • @costube9574
    @costube9574 2 года назад

    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

    • @Indently
      @Indently  2 года назад +1

      I just uploaded a new tutorial for group chat capabilities: ruclips.net/video/CNhswOLqeLM/видео.html

    • @costube9574
      @costube9574 2 года назад

      @@Indently thanks 🤩🤩🤩

  • @mohammedroshan3488
    @mohammedroshan3488 3 года назад +1

    @Code Palace How to Host the bot for free (turning on 24/7 pc is not possible)

    • @Indently
      @Indently  3 года назад +1

      Try searching for servers

    • @mohammedroshan3488
      @mohammedroshan3488 3 года назад +1

      @@Indently Can you make a video, how to host telegram bot in Heroku

    • @mohammedroshan3488
      @mohammedroshan3488 3 года назад +1

      From your video, it is simple to learn

    • @Indently
      @Indently  3 года назад +1

      I will consider it, but it might not be soon, so please continue doing research or you might need to wait a long time.

    • @mohammedroshan3488
      @mohammedroshan3488 3 года назад

      @@Indently Ok

  • @btcexpert4551
    @btcexpert4551 2 года назад

    Bro, I paid for this course 🤐

    • @Indently
      @Indently  2 года назад

      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.