CreateRoomStateEvent

@JsonClass(generateAdapter = true)
data class CreateRoomStateEvent(    val type: String,     val content: Content,     val stateKey: String = "")

Constructors

Link copied to clipboard
fun CreateRoomStateEvent(    type: String,     content: Content,     stateKey: String = "")

Properties

Link copied to clipboard
val content: Content

Required. The content of the event.

Link copied to clipboard
val stateKey: String

The state_key of the state event. Defaults to an empty string.

Link copied to clipboard
val type: String

Required. The type of event to send.