add

abstract fun add(fields: Map<String, String>)

Adds specified fields to the instance. If requested on a thread that's newly created, the fields may be lost until a first message is sent.

The client should always ensure thread (if applicable) exists before making changes to it. Threads are generally created by sending a first message to it.