diff --git a/service/telegram/telegram.go b/service/telegram/telegram.go index ecd5c21..502b734 100644 --- a/service/telegram/telegram.go +++ b/service/telegram/telegram.go @@ -78,7 +78,7 @@ 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 }