messages.ForwardMessages#
- class pyrogram.raw.functions.messages.ForwardMessages#
Forwards messages by their IDs.
- Details:
Layer:
220ID:
13704A7C
- Parameters:
from_peer (
InputPeer) – Source of messagesid (List of
int32-bit) – IDs of messagesrandom_id (List of
int64-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) – Bots only: if set, allows sending up to 1000 messages per second, ignoring broadcasting limits for a fee of 0.1 Telegram Stars per message. The relevant Stars will be withdrawn from the bot’s balance.top_msg_id (
int32-bit, optional) – Destination forum topicreply_to (
InputReplyTo, optional) – Can only contain an inputReplyToMonoForum, to forward messages to a monoforum topic (mutually exclusive with top_msg_id).schedule_date (
int32-bit, optional) – Scheduled message date for scheduled messagesschedule_repeat_period (
int32-bit, optional) – N/Asend_as (
InputPeer, optional) – Forward the messages as the specified peerquick_reply_shortcut (
InputQuickReplyShortcut, optional) – Add the messages to the specified quick reply shortcut », instead.effect (
int64-bit, optional) – N/Avideo_timestamp (
int32-bit, optional) – Start playing the video at the specified timestamp (seconds).allow_paid_stars (
int64-bit, optional) – For paid messages », specifies the amount of Telegram Stars the user has agreed to pay in order to send the message.suggested_post (
SuggestedPost, optional) – Used to suggest a post to a channel, see here » for more info on the full flow.
- Returns: