mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-01-27 17:54:38 +03:00
Update misleading error message
This commit is contained in:
parent
fc2977fc0d
commit
abd26af0ad
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue
Block a user