SendMessageRequest

data class SendMessageRequest @JvmOverloads constructor(val content: String, val attributes: Map<String, String>? = null)

Represents a send message request to be sent to a chat room.

Parameters

content

Message content

attributes

Key-value object for any additional data

Constructors

Link copied to clipboard
fun SendMessageRequest(content: String, attributes: Map<String, String>? = null)

Constructs the request instance

Properties

Link copied to clipboard
val attributes: Map<String, String>? = null

Key-value object for any additional data

Link copied to clipboard
val content: String

Message content

Link copied to clipboard
val requestId: String

Client-generated unique identifier (UUID) that will be used by the SDK to match response or error for given request.