Sikro
3f77166f2c
add environment variable for notify/telegram.sh
Since the server in mainland China cannot connect to Telegram, add the TELEGRAM_BOT_URLBASE environment variable
Please add the proxy address you set. If this variable is not added, it will be the default value (https://api.telegram.org )
2 months ago
fazelukario
26c2fc21c8
Moving to MarkdownV2 as the old Markdown is obsolete
- Implemented MarkdownV2 with escape of all necessary characters.
- Ref: https://core.telegram.org/bots/api#markdownv2-style
4 months ago
fazelukario
fef74c3bca
feat Cross-Platform Compatibility Guide
4 months ago
fazelukario
c390f1bfee
Escape markdown for subject
4 months ago
Habetdin
7c7d61f61e
Fix special characters escaping
To escape characters '_', '*', '`', '[' outside of an entity, prepend the characters '\' before them.
4 years ago
Mike Beattie
fb079f9e50
Update telegram.sh
(fix shellcheck failure)
4 years ago
Mike Beattie
39b09f8f87
Dump _post() call output to /dev/null
Signed-off-by: Mike Beattie <mike@ethernal.org>
4 years ago
Mike Beattie
53d26e5c5c
Add debug output of $_data variable to aid diagnosis
Signed-off-by: Mike Beattie <mike@ethernal.org>
4 years ago
Mike Beattie
e21f3e6c73
Escape asterisks in notification content
This messes with markdown parsing
Signed-off-by: Mike Beattie <mike@ethernal.org>
4 years ago
Mike Beattie
584cc6de2e
Avoid usage of sed -e
4 years ago
Mike Beattie
2e5a6e21cf
Correct shebang
4 years ago
Mike Beattie
10de4b6b7b
Add Telegram notification script
Requires:
- API Token for a bot created with the Telegram Bot Father.
- A Chat ID for a user/group that the bot has permission to post to.
4 years ago