From aaf7233c89af4dfbc2a8b9f5e11b4ff5e9713567 Mon Sep 17 00:00:00 2001 From: bodqhrohro Date: Mon, 4 Nov 2019 00:15:43 +0200 Subject: Presence/iq handling and rudimental telegram client --- config_schema.json | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'config_schema.json') 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" } } } -- cgit v1.2.3