Skip to content

targets

Target descriptors or identity IDs; built-in audience names such as Everyone are also accepted.

Type

( string | @type : ( "Identity" | "Everyone" | "Members" | "Public" )
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.

notify : boolean
Specifies whether a push notification should be sent to the target audience. Defaults to

targetId : string
The ID of the target identity, used when | ( string | @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.

notify : ( ... | ... | ... )
Specifies whether a push notification should be sent to the target audience. Defaults to

targetId : ( ... | ... )
The ID of the target identity, used when ) )

Declaration

1
 ( string | `@type` : ( `"Identity"` | `"Everyone"` | `"Members"` | `"Public"` )

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.

notify : boolean
Specifies whether a push notification should be sent to the target audience. Defaults to

targetId : string
The ID of the target identity, used when | ( string | @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.

notify : ( ... | ... | ... )
Specifies whether a push notification should be sent to the target audience. Defaults to

targetId : ( ... | ... )
The ID of the target identity, used when ) ) myActivityEntry.targets