MessageOriginChannel

class pyrogram.types.MessageOriginChannel

The message was originally sent to a channel chat.

Parameters:
  • type (:obj:`~pyrogram.enums.MessageOriginType`) – Type of the message origin.

  • date (:py:obj:`~datetime.datetime`) – Date the message was sent originally.

  • chat (:obj:`~pyrogram.types.Chat`) – Channel chat to which the message was originally sent.

  • message_id (``int``) – Unique message identifier inside the chat.

  • author_signature (``str``, *optional*) – Signature of the original post author.