MessageOriginUser#

class aiogram.types.message_origin_user.MessageOriginUser(*, type: Literal[MessageOriginType.USER] = MessageOriginType.USER, date: datetime, sender_user: User, **extra_data: Any)[source]#

The message was originally sent by a known user.

Source: https://core.telegram.org/bots/api#messageoriginuser

type: Literal[MessageOriginType.USER]#

Type of the message origin, always ‘user’

date: DateTime#

Date the message was sent originally in Unix time

sender_user: User#

User that sent the message originally