GetStateEvent

@Serializable
data class GetStateEvent(val roomId: RoomId, val type: String, val stateKey: String = "", val asUserId: UserId? = null) : MatrixEndpoint<Unit, StateEventContent>

See also

Constructors

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

Properties

Link copied to clipboard
@SerialName(value = "user_id")
val asUserId: UserId? = null
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: StateEventContent?): KSerializer<StateEventContent>