From c73888bd9849837cf1741c19949f2872e938efd2 Mon Sep 17 00:00:00 2001 From: Alex Root Junior Date: Fri, 3 Aug 2018 00:12:38 +0300 Subject: [PATCH] Rename `encrypted_passport_element_type` -> `type` --- aiogram/types/encrypted_passport_element.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aiogram/types/encrypted_passport_element.py b/aiogram/types/encrypted_passport_element.py index 68630649..bc7b212b 100644 --- a/aiogram/types/encrypted_passport_element.py +++ b/aiogram/types/encrypted_passport_element.py @@ -11,7 +11,7 @@ class EncryptedPassportElement(base.TelegramObject): https://core.telegram.org/bots/api#encryptedpassportelement """ - encrypted_passport_element_type: base.String = fields.Field(alias="type") + type: base.String = fields.Field() data: base.String = fields.Field() phone_number: base.String = fields.Field() email: base.String = fields.Field()