def METHOD_NAME(
    cls, workspace: Workspace, licenses_to_enable: List[LicenseType]
):
    """
    The message body for a realtime event of type user_data_updated which will
    grant multiple different licenses from a workspace.
    """
    return cls.realtime_message_to_update_user_data(
        {
            cls.type: {
                "per_workspace": {
                    workspace.id: {
                        active_license.type: True
                        for active_license in licenses_to_enable
                    }
                }
            }
        }
    )