add List Item With Ttl
abstract suspend fun addListItemWithTtl(listSidOrUniqueName: String, itemData: <Error class: unknown class>, ttl: <Error class: unknown class>): SyncList.Item
Add Item to the SyncList without opening it.
Return
SyncList.Item which has been added.
Parameters
list Sid Or Unique Name
SID or unique name of existing SyncList.
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.