MadelineProtoDocs/docs/TD_docs/methods/forwardMessages.md

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 Description Required
chat_id int53 Identifier of a chat to forward messages Yes
from_chat_id int53 Identifier of a chat to forward from Yes
message_ids Array of int53 Identifiers of messages to forward Yes
disable_notification Bool Pass true, to disable notification about the message, doesn't works if messages are forwarded to secret chat Yes
from_background Bool Pass true, if the message is sent from background Yes

Return type: Messages