Remove text submodule

This commit is contained in:
Dan 2018-05-09 13:08:16 +02:00
parent 662d49d885
commit 8cc7cdba9a
4 changed files with 6 additions and 29 deletions

View File

@ -17,17 +17,21 @@
# along with Pyrogram. If not, see <http://www.gnu.org/licenses/>.
from .action import Action
from .forward_messages import ForwardMessages
from .get_history import GetHistory
from .get_messages import GetMessages
from .media import Media
from .text import Text
from .send_message import SendMessage
from .update import Update
class Messages(
GetHistory,
GetMessages,
Action,
Media,
Update,
Text
ForwardMessages,
SendMessage
):
pass

View File

@ -1,27 +0,0 @@
# Pyrogram - Telegram MTProto API Client Library for Python
# Copyright (C) 2017-2018 Dan Tès <https://github.com/delivrance>
#
# This file is part of Pyrogram.
#
# Pyrogram is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published
# by the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# Pyrogram is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with Pyrogram. If not, see <http://www.gnu.org/licenses/>.
from .forward_messages import ForwardMessages
from .send_message import SendMessage
class Text(
ForwardMessages,
SendMessage
):
pass