This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
сервис_telegram [2025/10/13 10:25] val |
сервис_telegram [2025/10/13 16:32] (current) val |
||
---|---|---|---|
Line 25: | Line 25: | ||
/start | /start | ||
+ | |||
+ | test | ||
... | ... | ||
</code><code> | </code><code> | ||
- | https://api.telegram.org/NNNNNNNNNNNN:MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM/getUpdates | + | https://api.telegram.org/botNNNNNNNNNNNN:MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM/getUpdates |
</code><code> | </code><code> | ||
... | ... | ||
Line 45: | Line 47: | ||
curl -s -X POST https://api.telegram.org/bot$TOKEN/sendMessage -d chat_id=$CHAT_ID -d text="$MESSAGE" | curl -s -X POST https://api.telegram.org/bot$TOKEN/sendMessage -d chat_id=$CHAT_ID -d text="$MESSAGE" | ||
</code><code> | </code><code> | ||
- | $ time make buildworld; /home/val/send-to-telegram.sh FINISH | + | $ time sudo ipa-server-install; ./send-to-telegram.sh FINISH |
</code> | </code> | ||