messages.ForwardMessages#
- class pyrogram.raw.functions.messages.ForwardMessages#
Forwards messages by their IDs.
- Details:
Layer:
158ID:
C661BBC4
- Parameters:
from_peer (
InputPeer) – Source of messages.id (List of
int32-bit) – IDs of messages.random_id (List of
int64-bit) – Random ID to prevent resending of messages.to_peer (
InputPeer) – Destination peer.silent (
bool, optional) – Whether to send messages silently (no notification will be triggered on the destination clients).background (
bool, optional) – Whether to send the message in background.with_my_score (
bool, optional) – When forwarding games, whether to include your score in the game.drop_author (
bool, optional) – Whether to forward messages without quoting the original author.drop_media_captions (
bool, optional) – Whether to strip captions from media.noforwards (
bool, optional) – Only for bots, disallows further re-forwarding and saving of the messages, even if the destination chat doesn’t have content protection enabled.top_msg_id (
int32-bit, optional) – Destination forum topic.schedule_date (
int32-bit, optional) – Scheduled message date for scheduled messages.send_as (
InputPeer, optional) – Forward the messages as the specified peer.
- Returns: