diff --git a/telethon/client/messages.py b/telethon/client/messages.py index 0d27ef7e..56f34a34 100644 --- a/telethon/client/messages.py +++ b/telethon/client/messages.py @@ -574,8 +574,8 @@ class MessageMethods(UploadMethods, ButtonMethods, MessageParseMethods): ) except StopIteration: raise ValueError( - 'from_chat must be given if integer IDs are used' - ) + 'from_peer must be given if integer IDs are used' + ) from None req = functions.messages.ForwardMessagesRequest( from_peer=from_peer,