diff options
author | Earl Warren <109468362+earl-warren@users.noreply.github.com> | 2023-08-13 16:00:06 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-13 14:00:06 +0000 |
commit | 50fc22eecfd9d96f4b15d75e1b9f85d83715db87 (patch) | |
tree | 495df08dbd397932298d11ca317115d9041c9e2f /services/webhook/telegram.go | |
parent | 82ea557dd37312af02b991069e2debb71721882b (diff) | |
download | gitea-50fc22eecfd9d96f4b15d75e1b9f85d83715db87.tar.gz gitea-50fc22eecfd9d96f4b15d75e1b9f85d83715db87.zip |
Add ThreadID parameter for Telegram webhooks (#25996)
Telegram has recently implemented threads (channels) for group chats.
Co-authored-by: neveraskedtoexist <matikot415@gmail.com>
Diffstat (limited to 'services/webhook/telegram.go')
-rw-r--r-- | services/webhook/telegram.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/services/webhook/telegram.go b/services/webhook/telegram.go index 2d0484648b..ea7e8185de 100644 --- a/services/webhook/telegram.go +++ b/services/webhook/telegram.go @@ -28,6 +28,7 @@ type ( TelegramMeta struct { BotToken string `json:"bot_token"` ChatID string `json:"chat_id"` + ThreadID string `json:"thread_id"` } ) |