ForwardMessages

class pyrogram.raw.functions.messages.ForwardMessages

Forwards messages by their IDs.

Details
  • Layer: 122

  • ID: 0xd9fee60e

Parameters
  • from_peer (InputPeer) – Source of messages.

  • id (List of int 32-bit) – IDs of messages.

  • random_id (List of int 64-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.

  • schedule_date (int 32-bit, optional) – Scheduled message date for scheduled messages.

Returns

Updates – Object which is perceived by the client without a call on its part when an event occurs.