Commit Graph

11 Commits (fca53a0c2cb75ef9a7232c8cb5a0c096d4293152)

Author SHA1 Message Date
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
2024-10-07 05:16:11 +03:00
fazelukario fef74c3bca
feat Cross-Platform Compatibility Guide 2024-10-07 03:46:35 +03:00
fazelukario c390f1bfee
Escape markdown for subject 2024-10-07 03:34:49 +03:00
Habetdin 7c7d61f61e
Fix special characters escaping
To escape characters '_', '*', '`', '[' outside of an entity, prepend the characters '\' before them.
2021-06-23 03:20:07 +03:00
Mike Beattie fb079f9e50
Update telegram.sh
(fix shellcheck failure)
2021-04-08 16:44:22 +12:00
Mike Beattie 39b09f8f87 Dump _post() call output to /dev/null
Signed-off-by: Mike Beattie <mike@ethernal.org>
2021-04-08 16:38:00 +12:00
Mike Beattie 53d26e5c5c Add debug output of $_data variable to aid diagnosis
Signed-off-by: Mike Beattie <mike@ethernal.org>
2021-04-08 16:37:27 +12:00
Mike Beattie e21f3e6c73 Escape asterisks in notification content
This messes with markdown parsing

Signed-off-by: Mike Beattie <mike@ethernal.org>
2021-04-08 16:36:42 +12:00
Mike Beattie 584cc6de2e
Avoid usage of sed -e 2021-01-11 11:27:39 +13:00
Mike Beattie 2e5a6e21cf
Correct shebang 2021-01-11 11:21:46 +13:00
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.
2021-01-04 18:41:02 +13:00