modify

open override fun modify(id: String, request: ModifyThreadRequest): Thread

Modifies the thread with the given id to have the given updated values.

This method returns a new thread object wrapper. After this request, you should discard your references to the thread, since they are now outdated.

Return

The modified thread

Parameters

id

The id of the thread to modify

request

The values to update the thread with