1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2025-09-15 18:56:59 +00:00

[FEATURE] Add ThreadID parameter for Telegram webhooks

This commit is contained in:
neveraskedtoexist 2023-07-19 21:46:29 +02:00
parent 6d164246b5
commit 29d77def40
5 changed files with 9 additions and 1 deletions

View file

@ -352,6 +352,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
}