Update misleading error message

This commit is contained in:
Lonami Exo
2019-02-07 10:16:03 +01:00
parent fc2977fc0d
commit abd26af0ad
+2 -2
View File
@@ -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,