From 862f63e39c7622b73d14a314050213a88a098d5c Mon Sep 17 00:00:00 2001 From: Lonami Date: Thu, 15 Jun 2017 17:12:38 +0200 Subject: [PATCH] Let get_input_peer do its magic internally, for reals --- Forwarding-messages.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Forwarding-messages.md b/Forwarding-messages.md index e4488dd..1bc9f1d 100644 --- a/Forwarding-messages.md +++ b/Forwarding-messages.md @@ -8,7 +8,7 @@ from_entity = bar() # Who has the original messages. to_entity = baz() # Who you want to forward them to. client.invoke(ForwardMessagesRequest( - from_peer=get_input_peer(from_entity), + from_peer=from_entity, id=[msg.id for msg in messages], to_peer=to_entity ))