Message: {
    attachments: MessageAttachment[];
    body: string;
    date: number;
    dateOfEdit: number;
    deliveryStatus: MessageDeliveryStatus;
    edited: boolean;
    from: UserId;
    id: string;
    parentMessage?: Message;
    privateMessage: boolean;
    reactions: MessageReaction[];
    status: MessageState;
    targetEntityId: MessageTargetEntityId;
    targetEntityType: MessageTargetEntityType;
    to?: UserId;
    type: MessageType;
}

Type declaration