sendStateEvent

abstract suspend fun sendStateEvent(    eventType: String,     stateKey: String,     body: JsonDict): String

Send a state event to the room.

Return

the id of the created state event

Parameters

eventType

The type of event to send.

stateKey

The state_key for the state to send. Can be an empty string.

body

The content object of the event; the fields in this object will vary depending on the type of event