setSendOnly

fun setSendOnly(sendOnly: Array<String>)

Restricts delivery of the message to specified participant IDs.

Participants not listed will not receive the message, whether or not they are subscribed to the topic.

Parameters

sendOnly

array of participant IDs to deliver the message to, or null to deliver to all topic subscribers (default: null)