GetGlobalAccountData

@Serializable
data class GetGlobalAccountData(val userId: UserId, val type: String, val asUserId: UserId? = null) : MatrixEndpoint<Unit, GlobalAccountDataEventContent>

See also

Constructors

Link copied to clipboard
constructor(userId: UserId, type: 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 = "type")
val type: String
Link copied to clipboard
@SerialName(value = "userId")
val userId: UserId

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: GlobalAccountDataEventContent?): KSerializer<GlobalAccountDataEventContent>