SetGlobalAccountData

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

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 override fun requestSerializerBuilder(mappings: EventContentSerializerMappings, json: Json, value: GlobalAccountDataEventContent?): KSerializer<GlobalAccountDataEventContent>
Link copied to clipboard
open fun responseSerializerBuilder(mappings: EventContentSerializerMappings, json: Json, value: Unit?): KSerializer<Unit>?