Updated Forwarding messages (markdown)

Lonami 2017-10-02 09:49:10 +02:00
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?