update Document With Ttl
abstract suspend fun updateDocumentWithTtl(sidOrUniqueName: String, data: <Error class: unknown class>, ttl: <Error class: unknown class>)
Set value of the SyncDocument as a JSON object without opening it.
Parameters
sid Or Unique Name
SID or unique name of existing SyncDocument.
data
New document data.
ttl
Time to live from now or Duration.INFINITE to indicate no expiry.
Throws
Twilio Exception
When error occurred while updating the document.