TDLib v0.0.2 TDLib.Method.ForwardMessages View Source

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

NameTypeDescription
chat_idstringIdentifier of the chat to which to forward messages.
from_chat_idstringIdentifier of the chat from which to forward messages.
message_idsstring[]Identifiers of the messages to forward.
disable_notificationboolPass true to disable notification for the message, doesn’t work if messages are forwarded to a secret chat.
from_backgroundboolPass true if the message is sent from the background.
as_albumboolTrue, if the messages should be grouped into an album after forwarding. For this to work, no more than 10 messages may be forwarded, and all of them must be photo or video messages.

More details on telegram’s documentation.