This commit is contained in:
HugeFrog24
2026-09-03 21:55:36 +02:00
parent c36e1846f5
commit 89458480f3
17 changed files with 1593 additions and 127 deletions
+4
View File
@@ -44,6 +44,10 @@ type Message struct {
AnsweredOn *time.Time `gorm:"index"`
ImageFileIDs []string `gorm:"type:text;serializer:json"`
FilesCleanedAt *time.Time `gorm:"index"`
// TelegramMessageID is Telegram's message_id, kept so an edited_message
// update can find and correct the stored copy. Zero on rows stored before
// edits were tracked.
TelegramMessageID int `gorm:"index"`
}
type ChatMemory struct {