1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-22 18:28:37 +00:00

Add ThreadID parameter for Telegram webhooks (#25996)

Telegram has recently implemented threads (channels) for group chats.

Co-authored-by: neveraskedtoexist <matikot415@gmail.com>
This commit is contained in:
Earl Warren
2023-08-13 16:00:06 +02:00
committed by GitHub
parent 82ea557dd3
commit 50fc22eecf
5 changed files with 9 additions and 1 deletions

View File

@@ -28,6 +28,7 @@ type (
TelegramMeta struct {
BotToken string `json:"bot_token"`
ChatID string `json:"chat_id"`
ThreadID string `json:"thread_id"`
}
)