setDataWithTtl

abstract suspend fun setDataWithTtl(data: <Error class: unknown class>, ttl: <Error class: unknown class>)

Set value of the SyncDocument as a JSON object.

Parameters

data

New document data.

ttl

Time to live from now or Duration.INFINITE to indicate no expiry.

Throws

TwilioException

When error occurred while updating the document.