Type alias SystemMessageDetail

SystemMessageDetail: {
    content: string;
    type: Text;
} | {
    by: User;
    type: GroupDescriptionChange;
} | {
    by: User;
    type: GroupIconChange;
} | {
    from: User;
    to: User;
    type: GroupOwnershipChange;
} | {
    by: User;
    name: string;
    type: GroupRenamed;
} | {
    by: User;
    type: UserAdded;
    user: User;
} | {
    type: UserBanned;
    user: User;
} | {
    type: UserJoined;
    user: User;
} | {
    type: UserKicked;
    user: User;
} | {
    type: UserLeft;
    user: User;
} | {
    by: User;
    type: UserRemoved;
    user: User;
}