class aiogram.types.message_origin_chat.MessageOriginChat(*, type: Literal[MessageOriginType.CHAT] = MessageOriginType.CHAT, date: datetime, sender_chat: Chat, author_signature: str | None = None, **extra_data: Any)[source]#

The message was originally sent on behalf of a chat to a group chat.


type: Literal[MessageOriginType.CHAT]#

Type of the message origin, always ‘chat’

date: DateTime#

Date the message was sent originally in Unix time

model_computed_fields: ClassVar[dict[str, ComputedFieldInfo]] = {}#

A dictionary of computed field names and their corresponding ComputedFieldInfo objects.

model_post_init(_ModelMetaclass__context: Any) None#

We need to both initialize private attributes and call the user-defined model_post_init method.

sender_chat: Chat#

Chat that sent the message originally

author_signature: str | None#

Optional. For messages originally sent by an anonymous chat administrator, original message author signature