1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-19 16:58:37 +00:00

Telegram webhook (#4227)

This commit is contained in:
techknowlogick
2019-04-18 22:45:02 -04:00
committed by GitHub
parent 6dbd261852
commit 56da256853
13 changed files with 478 additions and 1 deletions

View File

@@ -25,6 +25,6 @@ func newWebhookService() {
Webhook.QueueLength = sec.Key("QUEUE_LENGTH").MustInt(1000)
Webhook.DeliverTimeout = sec.Key("DELIVER_TIMEOUT").MustInt(5)
Webhook.SkipTLSVerify = sec.Key("SKIP_TLS_VERIFY").MustBool()
Webhook.Types = []string{"gitea", "gogs", "slack", "discord", "dingtalk"}
Webhook.Types = []string{"gitea", "gogs", "slack", "discord", "dingtalk", "telegram"}
Webhook.PagingNum = sec.Key("PAGING_NUM").MustInt(10)
}