MessageOriginImport

class pyrogram.types.MessageOriginImport

Contains information about a message imported from a foreign chat service.

Parameters:
  • type (MessageOriginType) – Type of the message origin.

  • date (datetime) – Date the message was sent originally.

  • sender_user_name (str) – Name of the original sender.