diff --git a/backend/app/notify/prune_html.go b/backend/app/notify/prune_html.go
index e55a2fb8fc..53b54ce8aa 100644
--- a/backend/app/notify/prune_html.go
+++ b/backend/app/notify/prune_html.go
@@ -7,8 +7,6 @@ import (
"golang.org/x/net/html"
)
-const commentTextLengthLimit = 100
-
type stringArr struct {
data []string
len int
diff --git a/backend/app/notify/telegram.go b/backend/app/notify/telegram.go
index 9f3ea3462b..796520ca93 100644
--- a/backend/app/notify/telegram.go
+++ b/backend/app/notify/telegram.go
@@ -10,6 +10,8 @@ import (
"github.com/hashicorp/go-multierror"
)
+const commentTextLengthLimit = 100
+
// TelegramParams contain settings for telegram notifications
type TelegramParams struct {
AdminChannelID string // unique identifier for the target chat or username of the target channel (in the format @channelusername)