chore: build
This commit is contained in:
@@ -10,7 +10,6 @@ import (
|
||||
"time"
|
||||
)
|
||||
|
||||
// TelegramBot est l'instance globale accessible depuis le package db
|
||||
var TelegramBot *TelegramService
|
||||
|
||||
type TelegramService struct {
|
||||
@@ -103,7 +102,7 @@ func (t *TelegramService) SetWebhook(webhookURL string) error {
|
||||
}
|
||||
|
||||
payload := map[string]interface{}{
|
||||
"url": webhookURL,
|
||||
"url": webhookURL,
|
||||
"allowed_updates": []string{"message"},
|
||||
}
|
||||
if t.webhookSecret != "" {
|
||||
|
||||
Reference in New Issue
Block a user