This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
сервис_telegram [2025/10/13 16:32] val |
сервис_telegram [2025/10/15 06:58] (current) val |
||
---|---|---|---|
Line 43: | Line 43: | ||
#MESSAGE=$(cat) | #MESSAGE=$(cat) | ||
- | TOKEN="NNNNNNNNNNNN:MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM" | + | TOKEN="768604181156:AAGB1Qwvd-DAPhFbQiMKR3InggtIvPPEtT8" |
- | CHAT_ID="YYYYYYYYYY" | + | CHAT_ID="1776721761" |
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> |