def __repr__(self) -> str:
    name = self.__class__.__name__
    return f'<{name} id={self.id} channel={self.channel!r} type={self.type!r} author={self.author!r} flags={self.flags!r}>'
def __repr__(self) -> str:
    name = self.__class__.__name__
    return f'<{name} id={self.id} channel={self.channel!r} type={self.type!r} author={self.author!r} flags={self.flags!r}>'