MadelineProtoDocs/docs/TD_docs/methods/forwardMessages.md
Daniil Gentili e5a1324684 docufix
2018-04-04 23:19:57 +00:00

1.3 KiB

title description image
forwardMessages Forwards previously sent messages. Returns forwarded messages in the same order as message identifiers passed in message_ids. If message can't be forwarded, null will be returned instead of the message https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Method: forwardMessages

Back to methods index

YOU CANNOT USE THIS METHOD IN MADELINEPROTO

Forwards previously sent messages. Returns forwarded messages in the same order as message identifiers passed in message_ids. If message can't be forwarded, null will be returned instead of the message

Parameters:

Name Type Required Description
chat_id int53 Yes Identifier of a chat to forward messages
from_chat_id int53 Yes Identifier of a chat to forward from
message_ids Array of int53 Yes Identifiers of messages to forward
disable_notification Bool Yes Pass true, to disable notification about the message, doesn't works if messages are forwarded to secret chat
from_background Bool Yes Pass true, if the message is sent from background

Return type: Messages