AddSignatures

@Serializable
data class AddSignatures(val asUserId: UserId? = null) : MatrixEndpoint<Map<UserId, Map<String, JsonElement>>, AddSignatures.Response>

See also

Constructors

Link copied to clipboard
constructor(asUserId: UserId? = null)

Types

Link copied to clipboard
@Serializable
data class Response(val failures: Map<UserId, Map<String, JsonElement>>)

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?

Functions

Link copied to clipboard
open fun requestSerializerBuilder(mappings: EventContentSerializerMappings, json: Json, value: Map<UserId, Map<String, JsonElement>>?): KSerializer<Map<UserId, Map<String, JsonElement>>>?
Link copied to clipboard
open fun responseSerializerBuilder(mappings: EventContentSerializerMappings, json: Json, value: AddSignatures.Response?): KSerializer<AddSignatures.Response>?