# PushNotificationTargetUnion

Source: https://swapcard.dev/organizer/content-api/graphql-event-api-schema/unions/push-notification-target-union


const [open, setOpen] = useState(startOpen);
  return (
    <details {...(open ? { open: true } : {})} className="details" style={{ border:'none', boxShadow:'none', background:'var(--ifm-background-color)' }}>
      <summary
        onClick={(e) => {
          e.preventDefault();
          setOpen((open) => !open);
        }}
        style={{ listStyle:'none' }}
      >
      {open ? dataOpen : dataClose}
      </summary>
      {open && children}
    </details>
  );
};

No description

```graphql
union PushNotificationTargetUnion = PushNotificationParentTarget | PushNotificationEventAttendeeTarget | PushNotificationEventGroupTarget | PushNotificationCommunityProfileTarget | PushNotificationExhibitorMemberTarget | PushNotificationPlanningAttendeeTarget | PushNotificationEngagementScoreTarget
```

### Possible types

#### [<code style={{ fontWeight: 'normal' }}>PushNotificationTargetUnion.<b>PushNotificationParentTarget</b></code>](/organizer/content-api/graphql-event-api-schema/objects/push-notification-parent-target) <Badge class="badge badge--secondary" text="object"/> 
> 
> 
> Container for other targets
> 

#### [<code style={{ fontWeight: 'normal' }}>PushNotificationTargetUnion.<b>PushNotificationEventAttendeeTarget</b></code>](/organizer/content-api/graphql-event-api-schema/objects/push-notification-event-attendee-target) <Badge class="badge badge--secondary" text="object"/> 
> 
> 
> Targets all people attending in one or many events
> 

#### [<code style={{ fontWeight: 'normal' }}>PushNotificationTargetUnion.<b>PushNotificationEventGroupTarget</b></code>](/organizer/content-api/graphql-event-api-schema/objects/push-notification-event-group-target) <Badge class="badge badge--secondary" text="object"/> 
> 
> 
> Targets people whose primary group is in one of these groups
> 

#### [<code style={{ fontWeight: 'normal' }}>PushNotificationTargetUnion.<b>PushNotificationCommunityProfileTarget</b></code>](/organizer/content-api/graphql-event-api-schema/objects/push-notification-community-profile-target) <Badge class="badge badge--secondary" text="object"/> 
> 
> 
> Targets specific people
> 

#### [<code style={{ fontWeight: 'normal' }}>PushNotificationTargetUnion.<b>PushNotificationExhibitorMemberTarget</b></code>](/organizer/content-api/graphql-event-api-schema/objects/push-notification-exhibitor-member-target) <Badge class="badge badge--secondary" text="object"/> 
> 
> 
> Targets people who are members of these exhibitors
> 

#### [<code style={{ fontWeight: 'normal' }}>PushNotificationTargetUnion.<b>PushNotificationPlanningAttendeeTarget</b></code>](/organizer/content-api/graphql-event-api-schema/objects/push-notification-planning-attendee-target) <Badge class="badge badge--secondary" text="object"/> 
> 
> 
> Targets people who are members of these exhibitors
> 

#### [<code style={{ fontWeight: 'normal' }}>PushNotificationTargetUnion.<b>PushNotificationEngagementScoreTarget</b></code>](/organizer/content-api/graphql-event-api-schema/objects/push-notification-engagement-score-target) <Badge class="badge badge--secondary" text="object"/> 
> 
> 
> Targets people having an engagement score between two values
> 

### Member Of

[`PushNotification`](/organizer/content-api/graphql-event-api-schema/objects/push-notification)  <Badge class="badge badge--secondary" text="object"/>
