Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ReceivedFile ¶
type ReceivedFile struct {
gorm.Model
// FileUniqueID 和 FileID 在数据库中均不具有唯一性
// 如需确定唯一一行, 使用 ChatID + MessageID
FileUniqueID string `gorm:"index"`
FileID string `gorm:"index"`
Processing bool
FileName string
FilePath string
FileSize int64
MediaGroupID string
ChatID int64
MessageID int
ReplyMessageID int
}
Click to show internal directories.
Click to hide internal directories.