partialUpdateMessage

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

Partially updates specific Message 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.