mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 16:40:24 +08:00 
			
		
		
		
	Add support for MS Teams webhooks (#6632)
This commit is contained in:
		
				
					committed by
					
						
						techknowlogick
					
				
			
			
				
	
			
			
			
						parent
						
							2af67f6044
						
					
				
				
					commit
					b9d1fb6de3
				
			@@ -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", "telegram"}
 | 
			
		||||
	Webhook.Types = []string{"gitea", "gogs", "slack", "discord", "dingtalk", "telegram", "msteams"}
 | 
			
		||||
	Webhook.PagingNum = sec.Key("PAGING_NUM").MustInt(10)
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user