MTPyroger/pyrogram/methods/messages/__init__.py

104 lines
3.2 KiB
Python
Raw Normal View History

2020-03-21 14:43:32 +00:00
# Pyrogram - Telegram MTProto API Client Library for Python
2021-01-01 21:58:48 +00:00
# Copyright (C) 2017-2021 Dan <https://github.com/delivrance>
2018-01-23 14:34:36 +00:00
#
2020-03-21 14:43:32 +00:00
# This file is part of Pyrogram.
2018-01-23 14:34:36 +00:00
#
2020-03-21 14:43:32 +00:00
# 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.
2018-01-23 14:34:36 +00:00
#
2020-03-21 14:43:32 +00:00
# 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.
2018-01-23 14:34:36 +00:00
#
2020-03-21 14:43:32 +00:00
# You should have received a copy of the GNU Lesser General Public License
# along with Pyrogram. If not, see <http://www.gnu.org/licenses/>.
2018-01-23 14:34:36 +00:00
2020-12-05 16:00:00 +00:00
from .copy_message import CopyMessage
from .delete_messages import DeleteMessages
from .download_media import DownloadMedia
from .edit_inline_caption import EditInlineCaption
from .edit_inline_media import EditInlineMedia
from .edit_inline_reply_markup import EditInlineReplyMarkup
from .edit_inline_text import EditInlineText
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_media_group import GetMediaGroup
from .get_messages import GetMessages
2019-01-04 14:37:08 +00:00
from .iter_history import IterHistory
2019-06-04 17:16:30 +00:00
from .read_history import ReadHistory
2018-12-23 15:40:09 +00:00
from .retract_vote import RetractVote
2020-05-23 12:50:14 +00:00
from .search_global import SearchGlobal
from .search_messages import SearchMessages
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
2020-05-23 12:50:14 +00:00
from .send_dice import SendDice
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,
GetMediaGroup,
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,
2019-06-01 12:05:25 +00:00
GetHistoryCount,
ReadHistory,
EditInlineText,
EditInlineCaption,
EditInlineMedia,
EditInlineReplyMarkup,
2020-04-10 11:37:11 +00:00
SendDice,
2020-05-23 12:50:14 +00:00
SearchMessages,
2020-12-05 00:35:24 +00:00
SearchGlobal,
CopyMessage
):
pass