sendMessageBySite

suspend fun sendMessageBySite(siteId: String, content: String)

Sends a Message to a two-way ChatChannel.Site conversation.

If a ChatChannel already exists for the given siteId, the message will be sent to that channel. Otherwise, a new ChatChannel will be created.

Parameters

siteId

The ID of the site to send the message to.

content

The content of the message to send.