diff --git a/service/telegram/telegram.go b/service/telegram/telegram.go index ecd5c21..79fbd99 100644 --- a/service/telegram/telegram.go +++ b/service/telegram/telegram.go @@ -78,11 +78,11 @@ All configuration options are also available via environment variables.`, if len(v) <= 0 { return helpers.ErrChannel } - k, errStr := strconv.Atoi(v) + k, errStr := strconv.ParseInt(v, 10, 64) if errStr != nil { return errStr } - telegramSvc.AddReceivers(int64(k)) + telegramSvc.AddReceivers(k) } notifier.UseServices(telegramSvc)