ActivityTarget¶
Defines the target audience for an activity, specifying who should see the activity. At least one of type or targetId is required.
Capabilities¶
Properties¶
-
ActivityTarget.@type: Specifies the type of target audience. Defaults to "Identity".
-
"Identity": Targets a specific user or group identity.
- "Everyone": Targets all authenticated users.
- "Members": Targets all members of a channel.
- "Public": Targets everyone, regardless of authentication status.
- ActivityTarget.notify: Specifies whether a push notification should be sent to the target audience. Defaults to
false.
Activity Metadata¶
- ActivityTarget.targetId: The ID of the target identity, used when
@typeis set to "Identity".