MessageOriginType

class aiogram.enums.message_origin_type.MessageOriginType(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]

This object represents origin of a message.

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

USER = 'user'
HIDDEN_USER = 'hidden_user'
CHAT = 'chat'
CHANNEL = 'channel'