Added image generation

This commit is contained in:
2022-01-28 01:00:40 +03:00
parent f62aa2093e
commit fe1a4f1f2a
12 changed files with 140 additions and 21 deletions

View File

@ -6,16 +6,12 @@ type Chat struct {
}
type User struct {
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"`
IsBanned bool `bson:"is_banned"`
}
type Captcha struct {
MessageId int `bson:"message_id"`
CorrectAnswer int8 `bson:"correct_answer"`
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"`
}