chore: build
This commit is contained in:
@@ -42,7 +42,7 @@ func (s *LBTelegramService) IsConfigured() bool {
|
||||
// EnrollUser enrôle un utilisateur auprès de LBTelegram après liaison du compte.
|
||||
// LBTelegram envoie lui-même le message de confirmation (chaîne Bot1→Bot2→Bot3).
|
||||
func (s *LBTelegramService) EnrollUser(chatID int64, username, role string) error {
|
||||
payload := map[string]interface{}{
|
||||
payload := map[string]any{
|
||||
"user_id": chatID,
|
||||
"username": username,
|
||||
"role": role,
|
||||
@@ -68,7 +68,7 @@ func (s *LBTelegramService) EnrollUser(chatID int64, username, role string) erro
|
||||
// SendNotification envoie un message via la gateway LBTelegram.
|
||||
// Le bot est choisi automatiquement selon la stratégie configurée (failover/roundrobin/leastconn).
|
||||
func (s *LBTelegramService) SendNotification(userID int64, message string) error {
|
||||
payload := map[string]interface{}{
|
||||
payload := map[string]any{
|
||||
"user_id": userID,
|
||||
"message": message,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user