This repository has been archived on 2024-05-31. You can view files and clone it, but cannot push or open issues or pull requests.
Telegram/validation/users.json
2022-12-11 19:52:38 +01:00

43 lines
1.2 KiB
JSON

{
"$jsonSchema": {
"required": [
"user",
"link",
"label",
"tg_name",
"tg_phone",
"tg_locale",
"tg_username"
],
"properties": {
"user": {
"bsonType": ["int", "long"],
"description": "Telegram ID of user"
},
"link": {
"bsonType": ["string", "null"],
"description": "Invite link to destination group"
},
"label": {
"bsonType": "string",
"description": "Label given by admins"
},
"tg_name": {
"bsonType": "string",
"description": "Telegram first name"
},
"tg_phone": {
"bsonType": ["string", "null"],
"description": "Telegram phone number"
},
"tg_locale": {
"bsonType": ["string", "null"],
"description": "Telegram locale"
},
"tg_username": {
"bsonType": ["string", "null"],
"description": "Telegram username"
}
}
}
}