MTPyroger/pyrogram/client/methods/messages/__init__.py

76 lines
2.3 KiB
Python
Raw Normal View History

2018-01-23 14:34:36 +00:00
# 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 .delete_messages import DeleteMessages
from .download_media import DownloadMedia
from .edit_message_caption import EditMessageCaption
2018-08-01 23:12:31 +00:00
from .edit_message_media import EditMessageMedia
from .edit_message_reply_markup import EditMessageReplyMarkup
from .edit_message_text import EditMessageText
2018-05-09 11:08:16 +00:00
from .forward_messages import ForwardMessages
from .get_history import GetHistory
from .get_messages import GetMessages
2018-12-23 15:40:09 +00:00
from .retract_vote import RetractVote
from .send_animation import SendAnimation
from .send_audio import SendAudio
from .send_chat_action import SendChatAction
from .send_contact import SendContact
from .send_document import SendDocument
from .send_location import SendLocation
from .send_media_group import SendMediaGroup
2018-05-09 11:08:16 +00:00
from .send_message import SendMessage
from .send_photo import SendPhoto
2018-12-22 23:33:15 +00:00
from .send_poll import SendPoll
from .send_sticker import SendSticker
from .send_venue import SendVenue
from .send_video import SendVideo
from .send_video_note import SendVideoNote
from .send_voice import SendVoice
2018-12-23 15:19:24 +00:00
from .vote_poll import VotePoll
2018-01-23 14:34:36 +00:00
class Messages(
DeleteMessages,
EditMessageCaption,
EditMessageReplyMarkup,
2018-08-01 23:12:31 +00:00
EditMessageMedia,
EditMessageText,
ForwardMessages,
2018-05-09 11:08:16 +00:00
GetHistory,
GetMessages,
SendAudio,
SendChatAction,
SendContact,
SendDocument,
SendAnimation,
SendLocation,
SendMediaGroup,
SendMessage,
SendPhoto,
SendSticker,
SendVenue,
SendVideo,
SendVideoNote,
2018-12-22 23:33:15 +00:00
SendVoice,
2018-12-23 15:19:24 +00:00
SendPoll,
2018-12-23 15:40:09 +00:00
VotePoll,
RetractVote,
DownloadMedia
):
pass