diff --git a/Forwarding-messages.md b/Forwarding-messages.md index 1bc9f1d..4c98882 100644 --- a/Forwarding-messages.md +++ b/Forwarding-messages.md @@ -7,7 +7,7 @@ messages = foo() # Logic to retrieve a few messages. from_entity = bar() # Who has the original messages. to_entity = baz() # Who you want to forward them to. -client.invoke(ForwardMessagesRequest( +client(ForwardMessagesRequest( from_peer=from_entity, id=[msg.id for msg in messages], to_peer=to_entity