mirror of
https://github.com/tgdrive/teldrive.git
synced 2026-01-15 05:25:49 +08:00
- Implement channel rollover based on part count limits - Auto-create channels and add bots as admins - Add teldrive.kv key-value table - Deduplicate bots and set (user_id, token) as primary key
7 lines
153 B
Go
7 lines
153 B
Go
package models
|
|
|
|
type Bot struct {
|
|
Token string `gorm:"type:text;primaryKey"`
|
|
UserId int64 `gorm:"type:bigint"`
|
|
BotId int64 `gorm:"type:bigint"`
|
|
}
|