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
Great explanation! thank you very much! Really useful.
Glad it was helpful!
Salmat sa oh share Ng bagong kaalaman Sana madami kapang e share at keep on vlogging
yes lods thank you for watching :)
Salamat po sa pagbahagi ng inyong video malaking tulong po ito..May God bless you po and also your family.
yes po salamat salamat sa panunuod :)
Keep on sharing, thanks!
Will do, thank you for watching :)
Nice ;)
Glad you like it. Please subscribe, like and share. Thank you.
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)?
Try to search in google I believe through python will achieve what you want.
thanks
You're welcome!
i faced with below error :
{"ok":false,"error_code":400,"description":"Bad Request: message text is empty"}
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
not working..getting error
what was the issue?
When I paste the link on the browser I only get this:
{"ok":true,"result":[]}
what could be wrong
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.
@@watchnlearnit thanks, I had to resend some lines, it worked. I appreciate
Great! Please like and subscribe :)
@@watchnlearnit Done
U should share scripts link
I pasted a link on the description of the video. Here is the link below:
paste-bin.xyz/15444
Him: I'll make sure nobody sees my bot token 😈
HIM: @05:45 🤣🤣
Cool. Thanks
Why do you even bother to hide your token when i can see it at 3:33 ?
Thank you reporting. It still not work even someone use it.