From d56ed4cc4d93f7f834e0a34710b294975444b9f1 Mon Sep 17 00:00:00 2001 From: Gabben <43146729+gabbhack@users.noreply.github.com> Date: Sat, 16 May 2020 14:55:17 +0500 Subject: [PATCH] Add Downloadable to __init__ and __all__ --- aiogram/api/client/bot.py | 2 +- aiogram/api/types/__init__.py | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/aiogram/api/client/bot.py b/aiogram/api/client/bot.py index 37dad2e7..083f8bfc 100644 --- a/aiogram/api/client/bot.py +++ b/aiogram/api/client/bot.py @@ -99,6 +99,7 @@ from ..types import ( Chat, ChatMember, ChatPermissions, + Downloadable, File, ForceReply, GameHighScore, @@ -122,7 +123,6 @@ from ..types import ( UserProfilePhotos, WebhookInfo, ) -from ..types.downloadable import Downloadable from .session.aiohttp import AiohttpSession from .session.base import BaseSession diff --git a/aiogram/api/types/__init__.py b/aiogram/api/types/__init__.py index 5cb1badd..e5020458 100644 --- a/aiogram/api/types/__init__.py +++ b/aiogram/api/types/__init__.py @@ -12,6 +12,7 @@ from .chosen_inline_result import ChosenInlineResult from .contact import Contact from .dice import Dice, DiceEmoji from .document import Document +from .downloadable import Downloadable from .encrypted_credentials import EncryptedCredentials from .encrypted_passport_element import EncryptedPassportElement from .file import File @@ -101,6 +102,7 @@ from .webhook_info import WebhookInfo __all__ = ( "TelegramObject", + "Downloadable", "BufferedInputFile", "FSInputFile", "URLInputFile",