KickerBot/db/structs.go

19 lines
451 B
Go
Raw Normal View History

package db
type Chat struct {
Id int64
Title string
}
type User struct {
2022-01-28 01:00:40 +03:00
Id int64
ChatId int64 `bson:"chat_id"`
Username string `bson:"username"`
FirstName string `bson:"first_name"`
LastName string `bson:"last_name"`
CorrectAnswer int8 `bson:"correct_answer"`
CaptchaMessage int `bson:"captcha_message"`
IsBanned bool `bson:"is_banned"`
2022-02-02 00:37:58 +03:00
DateJoined int64 `bson:"date_joined"`
}