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
fun SetGlobalAccountData(userId: UserId, type: String, asUserId: UserId? = null)

Functions

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

Properties

Link copied to clipboard
val asUserId: UserId? = null
Link copied to clipboard
open val requestContentType: ContentType?
Link copied to clipboard
open val responseContentType: ContentType?
Link copied to clipboard
Link copied to clipboard
val userId: UserId