From 0602215b55e510f0b8663f951ac8e23cfd288862 Mon Sep 17 00:00:00 2001 From: Lonami Date: Mon, 11 Sep 2017 20:49:06 +0200 Subject: [PATCH] Add import line --- Forwarding-messages.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Forwarding-messages.md b/Forwarding-messages.md index 4c98882..a5ffa06 100644 --- a/Forwarding-messages.md +++ b/Forwarding-messages.md @@ -3,6 +3,8 @@ For some reason, [`ForwardMessageRequest`](https://lonamiwebs.github.io/Telethon You should use [`ForwardMessagesRequest`](https://lonamiwebs.github.io/Telethon/methods/messages/forward_messages.html) (note it's _Message**s**_, plural) as follows: ```python +from telethon.tl.functions.messages import ForwardMessagesRequest + 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.