influxdata / influxdata/kapacitor

Support MarkdownV2 for Telegram

Open
#2,365 2 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Go
Stars
2.4k
Forks
479
Avg merge
4d 16h
Merged PRs (30d)
4

Description

Modern telegram versions support MarkdownV2,
`kapacitor/services/telegram/service.go`
` if parseMode != "" && strings.ToLower(parseMode) != "markdown" && strings.ToLower(parseMode) != "html" {
return "", nil, fmt.Errorf("parseMode %s is not valid, please use 'Markdown' or 'HTML'", parseMode)`
One could add there MarkdownV2

Contributor guide

Open the contributing guide

Research direction

Start in kapacitor/services/telegram/service.go at the parseMode validation shown in the issue. Add MarkdownV2 as an accepted parse mode and update the invalid-value message; done means the service accepts MarkdownV2 while continuing to validate Markdown and HTML.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
backend
Issue type
Feature
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
58/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.