setMapItem

abstract suspend fun setMapItem(mapSidOrUniqueName: String, itemKey: String, itemData: <Error class: unknown class>): SyncMap.Item

Set Item in the SyncMap without opening it.

Return

SyncMap.Item which has been set.

Parameters

mapSidOrUniqueName

SID or unique name of existing SyncMap.

itemKey

Key of the item to set.

itemData

Item data to set as a JsonObject.

Throws

TwilioException

When error occurred while setting the Item.