mirror of
https://github.com/krau/SaveAny-Bot.git
synced 2026-05-26 18:50:22 +08:00
feat: add custom file name support for saved files and improve error messages
This commit is contained in:
@@ -7,8 +7,8 @@ import (
|
||||
type ReceivedFile struct {
|
||||
gorm.Model
|
||||
Processing bool
|
||||
ChatID int64
|
||||
MessageID int
|
||||
ChatID int64 `gorm:"uniqueIndex:idx_chat_id_message_id;not null"`
|
||||
MessageID int `gorm:"uniqueIndex:idx_chat_id_message_id;not null"`
|
||||
ReplyMessageID int
|
||||
FileName string
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user