SetRoomAccountData

@Serializable
data class SetRoomAccountData(val userId: UserId, val roomId: RoomId, val type: String, val asUserId: UserId? = null) : MatrixEndpoint<RoomAccountDataEventContent, Unit>

See also

Constructors

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

Functions

Link copied to clipboard
open override fun requestSerializerBuilder(mappings: EventContentSerializerMappings, json: Json): KSerializer<RoomAccountDataEventContent>
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
val roomId: RoomId
Link copied to clipboard
Link copied to clipboard
val userId: UserId