[GITEA] Add ThreadID parameter for Telegram webhooks

(cherry picked from commit 29d77def40)
(cherry picked from commit c758aa56a2)
(cherry picked from commit 21c3477875)
This commit is contained in:
neveraskedtoexist 2023-07-19 21:46:29 +02:00 committed by Earl Warren
commit 7553b69bea
No known key found for this signature in database
GPG key ID: 0579CB2928A78A00
5 changed files with 9 additions and 1 deletions

View file

@ -353,6 +353,7 @@ func (f *NewDingtalkHookForm) Validate(req *http.Request, errs binding.Errors) b
type NewTelegramHookForm struct {
BotToken string `binding:"Required"`
ChatID string `binding:"Required"`
ThreadID string
WebhookForm
}