Merge pull request #293 from origamiofficial/main-1

Disable web page preview on Telegram
This commit is contained in:
j-hc 2023-08-09 20:31:12 +03:00 committed by GitHub
commit 0eaa482178
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -132,7 +132,7 @@ jobs:
"
echo "'$MSG'"
POST="https://api.telegram.org/bot${TG_TOKEN}/sendMessage"
curl -X POST --data-urlencode "parse_mode=Markdown" --data-urlencode "text=${MSG}" --data-urlencode "chat_id=${TG_CHAT}" "$POST"
curl -X POST --data-urlencode "parse_mode=Markdown" --data-urlencode "disable_web_page_preview=true" --data-urlencode "text=${MSG}" --data-urlencode "chat_id=${TG_CHAT}" "$POST"
- uses: actions/upload-artifact@v3
with: