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

84 lines
2.5 KiB
Python
Raw Normal View History

2018-01-23 14:34:36 +00:00
# Pyrogram - Telegram MTProto API Client Library for Python
2019-01-01 11:36:16 +00:00
# Copyright (C) 2017-2019 Dan Tès <https://github.com/delivrance>
2018-01-23 14:34:36 +00:00
#
# 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
2019-05-06 14:44:50 +00:00
from .get_history_count import GetHistoryCount
from .get_messages import GetMessages
2019-01-04 14:37:08 +00:00
from .iter_history import IterHistory
2018-12-23 15:40:09 +00:00
from .retract_vote import RetractVote
from .send_animation import SendAnimation
from .send_audio import SendAudio
2019-03-11 20:26:07 +00:00
from .send_cached_media import SendCachedMedia
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
2019-05-06 14:44:50 +00:00
from .stop_poll import StopPoll
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,
StopPoll,
RetractVote,
2019-01-04 14:37:08 +00:00
DownloadMedia,
2019-03-11 20:26:07 +00:00
IterHistory,
2019-05-06 14:44:50 +00:00
SendCachedMedia,
GetHistoryCount
):
pass