from_chat_idinteger | string · requiredforward_message
Forward a message (or several) from a source chat to a destination chat. When forwarding a single int message_id, the server automatically detects Telegram albums (multi-photo/video posts sharing a `grouped_id`) and forwards the ENTIRE album as one grouped batch — so the destination receives the album intact with "Forwarded from <source>", not a single detached photo. This is the desired behavior in almost all cases. Set expand_album=False to forward only the exact message you specified (useful if you really want one photo out of an album). To forward a specific set of unrelated messages, pass a list of ints. Album expansion is not applied to list inputs — the list is treated as the explicit batch. Args: from_chat_id: Source chat (id or @username). message_id: A single message id (int) OR a list of ids. Single ints are auto-expanded to the full album when applicable. to_chat_id: Destination chat (id or @username). account: Optional account label for multi-account mode. expand_album: If True (default) and message_id is a single int, the server expands albums automatically. No effect on list inputs.
Parameters
message_idinteger | array · requiredto_chat_idinteger | string · requiredaccountstring · default nullexpand_albumboolean · default true