SendStateEvent

@Serializable
data class SendStateEvent(val roomId: RoomId, val type: String, val stateKey: String = "", val ts: Long? = null) : MatrixEndpoint<StateEventContent, SendEventResponse>

See also

Constructors

Link copied to clipboard
constructor(roomId: RoomId, type: String, stateKey: String = "", ts: Long? = null)

Properties

Link copied to clipboard
open val requestContentType: ContentType?
Link copied to clipboard
open val responseContentType: ContentType?
Link copied to clipboard
@SerialName(value = "roomId")
val roomId: RoomId
Link copied to clipboard
@SerialName(value = "stateKey")
val stateKey: String
Link copied to clipboard
@SerialName(value = "ts")
val ts: Long?
Link copied to clipboard
@SerialName(value = "type")
val type: String

Functions

Link copied to clipboard
open override fun requestSerializerBuilder(mappings: EventContentSerializerMappings, json: Json, value: StateEventContent?): KSerializer<StateEventContent>
Link copied to clipboard