How to send Telegram message from Bash Script

Поделиться
HTML-код
  • Опубликовано: 2 авг 2024
  • In this tutorial will teach you the following about telegram
    - How to send telegram message from bash scripts
    - How to get chat ID
    - How to create telegram bot or telegram API
    Check the link below for the bash script:
    paste-bin.xyz/15444

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

  • @ManlioBarolo
    @ManlioBarolo 2 месяца назад

    Great explanation! thank you very much! Really useful.

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

    Salmat sa oh share Ng bagong kaalaman Sana madami kapang e share at keep on vlogging

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

    Salamat po sa pagbahagi ng inyong video malaking tulong po ito..May God bless you po and also your family.

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

      yes po salamat salamat sa panunuod :)

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

    Keep on sharing, thanks!

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

    Nice ;)

    • @watchnlearnit
      @watchnlearnit  Год назад +1

      Glad you like it. Please subscribe, like and share. Thank you.

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

    but what we can do more with bash script in Telegram? Because i can find only one method - sendMessage. For example is it possible to use anothe interesting method (poll etc)?

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

      Try to search in google I believe through python will achieve what you want.

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

    thanks

  • @msohani68
    @msohani68 6 месяцев назад

    i faced with below error :
    {"ok":false,"error_code":400,"description":"Bad Request: message text is empty"}

    • @watchnlearnit
      @watchnlearnit  6 месяцев назад

      If the issue still persists, try to modify your curl request. For me adding header 'Content-Type: application/json' and -d '{"chat_id":12309832,"text":"any text"}' fixed issue

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

    not working..getting error

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

    When I paste the link on the browser I only get this:
    {"ok":true,"result":[]}
    what could be wrong

    • @watchnlearnit
      @watchnlearnit  2 года назад +2

      1st Make sure you added already the bot in the channel you created.
      2nd Before visiting the link in the browser please send multiple chat first in the channel you created so that the channel will reveal the chat id when you visit the link.
      Try sending chat first then visit again.

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

      @@watchnlearnit thanks, I had to resend some lines, it worked. I appreciate

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

      Great! Please like and subscribe :)

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

      @@watchnlearnit Done

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

    U should share scripts link

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

      I pasted a link on the description of the video. Here is the link below:
      paste-bin.xyz/15444

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

    Him: I'll make sure nobody sees my bot token 😈
    HIM: @05:45 🤣🤣

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

    Why do you even bother to hide your token when i can see it at 3:33 ?

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

      Thank you reporting. It still not work even someone use it.