From 76b9f97681069275ddc3bd7ad74b7ef9c5c2c2a2 Mon Sep 17 00:00:00 2001 From: Dan <14043624+delivrance@users.noreply.github.com> Date: Sat, 5 Dec 2020 17:00:00 +0100 Subject: [PATCH] Fix little typo --- pyrogram/methods/messages/__init__.py | 2 +- pyrogram/methods/messages/{copy_messages.py => copy_message.py} | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename pyrogram/methods/messages/{copy_messages.py => copy_message.py} (99%) diff --git a/pyrogram/methods/messages/__init__.py b/pyrogram/methods/messages/__init__.py index c6697dbc..4c9319a7 100644 --- a/pyrogram/methods/messages/__init__.py +++ b/pyrogram/methods/messages/__init__.py @@ -16,7 +16,7 @@ # You should have received a copy of the GNU Lesser General Public License # along with Pyrogram. If not, see . -from .copy_messages import CopyMessage +from .copy_message import CopyMessage from .delete_messages import DeleteMessages from .download_media import DownloadMedia from .edit_inline_caption import EditInlineCaption diff --git a/pyrogram/methods/messages/copy_messages.py b/pyrogram/methods/messages/copy_message.py similarity index 99% rename from pyrogram/methods/messages/copy_messages.py rename to pyrogram/methods/messages/copy_message.py index d45c7b45..3c9498c3 100644 --- a/pyrogram/methods/messages/copy_messages.py +++ b/pyrogram/methods/messages/copy_message.py @@ -26,7 +26,7 @@ log = logging.getLogger(__name__) class CopyMessage(Scaffold): - async def copy_messages( + async def copy_message( self, chat_id: Union[int, str], from_chat_id: Union[int, str],