ResponseRole

@Serializable
value class ResponseRole(val value: String)

Author of a MessageItem.

Serialized as the raw value the API expects, so a role the SDK declares no constant for is still usable: ResponseRole("moderator").

Constructors

Link copied to clipboard
constructor(value: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Raw role sent in — and returned by — the role field. Must not be blank.

Functions

Link copied to clipboard
open override fun toString(): String