aboutsummaryrefslogtreecommitdiff
path: root/config_schema.json
diff options
context:
space:
mode:
authorbodqhrohro <bodqhrohro@gmail.com>2019-11-04 01:15:43 +0300
committerbodqhrohro <bodqhrohro@gmail.com>2019-11-04 01:15:43 +0300
commitaaf7233c89af4dfbc2a8b9f5e11b4ff5e9713567 (patch)
treed449c7a41d1945e249cd066921c7a436f7614f84 /config_schema.json
parent7e036fd795cc0b5710d3b049dc98f4538c32da6a (diff)
Presence/iq handling and rudimental telegram client
Diffstat (limited to 'config_schema.json')
-rw-r--r--config_schema.json6
1 files changed, 5 insertions, 1 deletions
diff --git a/config_schema.json b/config_schema.json
index 434bde5..48454a5 100644
--- a/config_schema.json
+++ b/config_schema.json
@@ -39,7 +39,8 @@
"required": [":api_id", ":api_hash"],
"properties": {
":api_id": {
- "$ref": "#/definitions/non-empty-string"
+ "type": "string",
+ "pattern": "^[0-9]+$"
},
":api_hash": {
"$ref": "#/definitions/non-empty-string"
@@ -52,6 +53,9 @@
},
":use_chat_info_database": {
"type": "boolean"
+ },
+ ":use_secret_chats": {
+ "type": "boolean"
}
}
}