send

abstract suspend fun send(message: Any, targets: Collection<Target>)

Sends a message to the specified collection of targets.

Parameters

message

the message to send.

targets

the targets to send the message to.


abstract suspend fun send(message: Any, vararg targets: Target)

Sends a message to the specified targets.

Parameters

message

the message to send.

targets

the targets to send the message to.