mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2024-11-25 02:43:45 +03:00
Add import line
parent
8e0d018054
commit
0602215b55
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue
Block a user