add Item With Ttl
abstract suspend fun addItemWithTtl(itemData: <Error class: unknown class>, ttl: <Error class: unknown class>): SyncList.Item
Add Item to the SyncList.
Return
Item which has been added.
Parameters
item Data
Item data to add as a JsonObject.
ttl
Time to live from now or Duration.INFINITE to indicate no expiry.
Throws
Twilio Exception
When error occurred while setting the Item.