delete getUpdates chan
This commit is contained in:
parent
4c78714718
commit
6a5f944df5
@ -71,13 +71,6 @@ func Run(cfg *config.Config, build Build) {
|
||||
|
||||
clients := initialize.NewClients(logger, bot, cfg.TelegramChannelID, cfg.TemplatePath)
|
||||
|
||||
bot.GetUpdatesChan(tgbotapi.UpdateConfig{
|
||||
Offset: 0,
|
||||
Limit: 0,
|
||||
Timeout: 0,
|
||||
AllowedUpdates: nil,
|
||||
})
|
||||
|
||||
err = clients.Telegram.SendMessage("Bot started")
|
||||
if err != nil {
|
||||
logger.Error("TelegramBot", zap.Error(err))
|
||||
|
Loading…
Reference in New Issue
Block a user