sendMessageByOrder

suspend fun sendMessageByOrder(orderNumber: String, subProjectId: String?, content: String)

Sends a Message to a three-way ChatChannel.Order conversation.

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

Parameters

orderNumber

The order number to send the message to.

subProjectId

The sub-project ID, if applicable.

content

The content of the message to send.