MessageFwdHeader

class pyrogram.raw.types.MessageFwdHeader

Info about a forwarded message.

Constructor type of MessageFwdHeader.

Details
  • Layer: 126

  • ID: 0x5f777dce

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

  • imported (bool, optional) – Telegram API parameter.

  • 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 the current user (inputPeerSelf), full info about the user/channel that originally sent the message.

  • saved_from_msg_id (int 32-bit, optional) – Only for messages forwarded to the current user (inputPeerSelf), ID of the message that was forwarded from the original user/channel.

  • psa_type (str, optional) – PSA type.