mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2024-11-22 01:16:35 +03:00
Updated Forwarding messages (markdown)
parent
74b209cb40
commit
ed19e59af5
|
@ -6,9 +6,9 @@ Either way, you are encouraged to use [`ForwardMessagesRequest`](https://lonamiw
|
|||
from telethon.tl.functions.messages import ForwardMessagesRequest
|
||||
# note the s ^
|
||||
|
||||
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.
|
||||
messages = foo() # retrieve a few messages (or even one, in a list)
|
||||
from_entity = bar()
|
||||
to_entity = baz()
|
||||
|
||||
client(ForwardMessagesRequest(
|
||||
from_peer=from_entity, # who sent these messages?
|
||||
|
|
Loading…
Reference in New Issue
Block a user