publish Message
abstract suspend fun publishMessage(sidOrUniqueName: String, data: <Error class: unknown class>): SyncStream.Message
Publish a new message to SyncStream without opening it.
Parameters
sid Or Unique Name
SID or unique name of existing SyncStream.
data
Contains the payload of the dispatched message. Maximum size in serialized JSON: 4KB.
Throws
Twilio Exception
When error occurred while publishing message.