From 116419129e4855adc7eca5346ddd821297b8a081 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C4=93teris=20Caune?= Date: Mon, 22 May 2017 18:56:21 +0300 Subject: [PATCH] Handle supergroups. Fixes #123 --- hc/front/schemas.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hc/front/schemas.py b/hc/front/schemas.py index 61b0a1c5..7bbd976b 100644 --- a/hc/front/schemas.py +++ b/hc/front/schemas.py @@ -8,7 +8,7 @@ telegram_callback = { "type": "object", "properties": { "id": {"type": "number"}, - "type": {"enum": ["group", "private"]}, + "type": {"enum": ["group", "private", "supergroup"]}, "title": {"type": "string"}, "username": {"type": "string"} },