SendStateEvent

fun SendStateEvent(roomId: RoomId, type: String, stateKey: String = "", asUserId: UserId? = null, ts: Long? = null)