sendChatMessage

fun sendChatMessage(address: InetAddress, time: Long, message: String, file: URI?)

Sends a chat message to a remote device over HTTP.

Parameters

address

The target device's IP address.

time

The timestamp of the message in milliseconds.

message

The message text to send.

file

Optional URI of a file to send along with the message.