Name | Type | Description | Notes |
---|---|---|---|
included_segments | Array<String> | The segment names you want to target. Users in these segments will receive a notification. This targeting parameter is only compatible with excluded_segments. Example: ["Active Users", "Inactive Users"] | [optional] |
excluded_segments | Array<String> | Segment that will be excluded when sending. Users in these segments will not receive a notification, even if they were included in included_segments. This targeting parameter is only compatible with included_segments. Example: ["Active Users", "Inactive Users"] | [optional] |
require 'onesignal'
instance = OneSignal::SegmentNotificationTarget.new(
included_segments: null,
excluded_segments: null
)