partialUpdateThread

fun partialUpdateThread(messageId: String, set: Map<String, Any> = emptyMap(), unset: List<String> = emptyList()): Call<Thread>

Partially updates specific Thread fields retaining the fields which were set previously.

Return

Executable async Call responsible for partially updating the message.

Parameters

messageId

The message ID.

set

The key-value data which will be added to the existing message object.

unset

The list of fields which will be removed from the existing message object.