закуп

This commit is contained in:
Artem Tsyrulnikov
2026-01-03 16:56:00 +03:00
parent c04faf8132
commit 3ca62b6f5c
3 changed files with 332 additions and 30 deletions

View File

@@ -232,6 +232,12 @@ func (b *Bot) Update(u *echotron.Update) {
return
}
// Игнорируем edited_message обновления, чтобы не сбрасывать состояние после наших Edit операций.
if u.EditedMessage != nil || u.EditedChannelPost != nil || u.EditedBusinessMessage != nil {
log.Debug().Msg("Ignoring edited message update")
return
}
exec := &Exec{}
b.exec = exec