common/model/tg.go

23 lines
380 B
Go
Raw Normal View History

2024-06-27 19:30:57 +00:00
package model
import "time"
type TgAccount struct {
ID int64
ApiID int32
ApiHash string
PhoneNumber string
2024-06-27 19:40:42 +00:00
Password string
2024-06-27 19:30:57 +00:00
Status TgAccountStatus
Deleted bool
CreatedAt time.Time
}
type TgAccountStatus string
const (
ActiveTg TgAccountStatus = "active"
InactiveTg TgAccountStatus = "inactive"
BanTg TgAccountStatus = "ban"
)