messages.ForwardMessages
- class pyrogram.raw.functions.messages.ForwardMessages
Forwards messages by their IDs.
- Details:
Layer:
194
ID:
D5039208
- Parameters:
from_peer (
InputPeer
) – Source of messagesid (List of
int
32-bit
) – IDs of messagesrandom_id (List of
int
64-bit
) – Random ID to prevent resending of messagesto_peer (
InputPeer
) – Destination peersilent (
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 backgroundwith_my_score (
bool
, optional) – When forwarding games, whether to include your score in the gamedrop_author (
bool
, optional) – Whether to forward messages without quoting the original authordrop_media_captions (
bool
, optional) – Whether to strip captions from medianoforwards (
bool
, optional) – Only for bots, disallows further re-forwarding and saving of the messages, even if the destination chat doesn’t have content protection enabledallow_paid_floodskip (
bool
, optional) – N/Atop_msg_id (
int
32-bit
, optional) – Destination forum topicschedule_date (
int
32-bit
, optional) – Scheduled message date for scheduled messagessend_as (
InputPeer
, optional) – Forward the messages as the specified peerquick_reply_shortcut (
InputQuickReplyShortcut
, optional)
- Returns: