postMessage

fun postMessage(message: Any?)(source)

Sends the given message to other BroadcastChannel objects set up for this channel. Messages can be structured objects, e.g. nested objects and arrays.

MDN Reference