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
Name | Type | Description |
---|---|---|
chat_id | string | Identifier of the chat to which to forward messages. |
from_chat_id | string | Identifier of the chat from which to forward messages. |
message_ids | string[] | Identifiers of the messages to forward. |
disable_notification | bool | Pass true to disable notification for the message, doesn’t work if messages are forwarded to a secret chat. |
from_background | bool | Pass true if the message is sent from the background. |
as_album | bool | True, 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.