Add Telegram alerting #38
Add Telegram alerting #38
Conversation
Can you please provide a screenshot attachment of Telegram alert, @zufardhiyaulhaq? |
@dwisiswant0 give you the screenshot |
It looks like the first word of threat category got trimmed, e.g. |
let me check, that is weird since the markdown generated from the template is normal.
|
@dwisiswant0 this is done. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @zufardhiyaulhaq,
After reviewing, I still need some revisions of this.
Please note that we provide the parse_mode
option in the configuration file because we have to provide some formatting options for the user. If I see; you only provide MarkdownV2
when referring to currently templates you created, but not for Markdown
andHTML
.
References:
/assign @zufardhiyaulhaq |
@dwisiswant0 I am aware that we can use MarkdownV2 or HTML, but why in the first place we can make user can customize this? since we manage the template and I believe it is not necessary for the user to select HTML or MarkdownV2 if the user cannot customize the template from the first place. |
5e6e2cf
to
2c7849e
Compare
What I mean is, when the user choose HTML; the template format we'll use is to generate a message using table fields, since the I'm going to change the base branch to Thanks for your contributions! Approving now. |
Accepted! Thanks for your patience & contributions, wait to be merged. |
@all-contributors please add @zufardhiyaulhaq for code. |
I've put up a pull request to add @zufardhiyaulhaq! 🎉 |
Summary
Proposed changes
This PR fixes/implements the following bugs/features:
How has this been tested?
configuring teler.yaml using telegram alert provider
Proof:
example logging in telegram
Closing issues
Fixes #36
Checklist: