Contents | Index | Previous | Next


TAgentJS.selectiveSendJS() Method

send a message

Synopsis

Tango_agent.selectiveSendJS(userNames,message);

Arguments

userNames String array. Recipients of the message.

message String object. A string encoded message to be passed to the other session participants.

Returns

Nothing.

Description

Sends string messages to selected users.

Example

<script>

recipients[0]="Ben";

recipients[1]="Jerry";

Tango_agent.selectiveSendJS(recipients,"Hello");

</script>

See Also

TAgentJS.sendJS() method, TDataListenerJS interface, TAgentJS.getParticipantsNamesJS() method