mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-10-28 21:11:17 +00:00
[GITEA] Add ThreadID parameter for Telegram webhooks
(cherry picked from commit29d77def40) (cherry picked from commitc758aa56a2) (cherry picked from commit21c3477875)
This commit is contained in:
parent
0fcfb355af
commit
7553b69bea
5 changed files with 9 additions and 1 deletions
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue