MessageFwdHeader#

class pyrogram.raw.types.MessageFwdHeader#

Info about a forwarded message.

Constructor of MessageFwdHeader.

Details:
  • Layer: 158

  • ID: 5F777DCE

Parameters:
  • date (int 32-bit) – When was the message originally sent.

  • imported (bool, optional) – Whether this message was imported from a foreign chat service.

  • from_id (Peer, optional) – The ID of the user that originally sent the message.

  • from_name (str, optional) – The name of the user that originally sent the message.

  • channel_post (int 32-bit, optional) – ID of the channel message that was forwarded.

  • post_author (str, optional) – For channels and if signatures are enabled, author of the channel message.

  • saved_from_peer (Peer, optional) – Only for messages forwarded to saved messages », contains the dialog where the message was originally sent.

  • saved_from_msg_id (int 32-bit, optional) – Only for messages forwarded to saved messages », contains the original ID of the message in saved_from_peer.

  • psa_type (str, optional) – PSA type.