GetStateEvent

@Serializable
data class GetStateEvent(val roomId: RoomId, val type: String, val stateKey: String = "", val format: GetStateEvent.Format? = null) : MatrixEndpoint<Unit, GetStateEvent.Response>

See also

Constructors

Link copied to clipboard
constructor(roomId: RoomId, type: String, stateKey: String = "", format: GetStateEvent.Format? = null)

Types

Link copied to clipboard
@Serializable
enum Format : Enum<GetStateEvent.Format>
Link copied to clipboard
interface Response

Properties

Link copied to clipboard
@SerialName(value = "format")
val format: GetStateEvent.Format?
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 = "type")
val type: String

Functions

Link copied to clipboard
open fun requestSerializerBuilder(mappings: EventContentSerializerMappings, json: Json, value: Unit?): KSerializer<Unit>?
Link copied to clipboard
open override fun responseSerializerBuilder(mappings: EventContentSerializerMappings, json: Json, value: GetStateEvent.Response?): KSerializer<GetStateEvent.Response>