Init
This commit is contained in:
parent
264c97183e
commit
3faede7b1c
74 changed files with 6228 additions and 1 deletions
12
models/settings.go
Normal file
12
models/settings.go
Normal file
|
@ -0,0 +1,12 @@
|
|||
package models
|
||||
|
||||
import "gorm.io/gorm"
|
||||
|
||||
type GroupSettings struct {
|
||||
gorm.Model
|
||||
|
||||
ChatID int64 `gorm:"primaryKey"`
|
||||
NSFW *bool `gorm:"default:false"`
|
||||
Captions *bool `gorm:"default:false"`
|
||||
MediaGroupLimit int `gorm:"default:10"`
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue