set List Item With Ttl
abstract suspend fun setListItemWithTtl(listSidOrUniqueName: String, itemIndex: Long, itemData: <Error class: unknown class>, ttl: <Error class: unknown class>): SyncList.Item
Set Item in the SyncList without opening it.
Return
SyncList.Item which has been set.
Parameters
list Sid Or Unique Name
SID or unique name of existing SyncList.
item Index
Index of the item to set.
item Data
Item data to set 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.