GetRelationsByRelationType

@Serializable
data class GetRelationsByRelationType(val roomId: RoomId, val eventId: EventId, val relationType: RelationType, val from: String? = null, val to: String? = null, val limit: Long? = null, val recurse: Boolean? = null) : MatrixEndpoint<Unit, GetRelationsResponse>

See also

Constructors

Link copied to clipboard
constructor(roomId: RoomId, eventId: EventId, relationType: RelationType, from: String? = null, to: String? = null, limit: Long? = null, recurse: Boolean? = null)

Properties

Link copied to clipboard
@SerialName(value = "eventId")
val eventId: EventId
Link copied to clipboard
@SerialName(value = "from")
val from: String?
Link copied to clipboard
@SerialName(value = "limit")
val limit: Long?
Link copied to clipboard
@SerialName(value = "recurse")
val recurse: Boolean?
Link copied to clipboard
@SerialName(value = "relType")
val relationType: RelationType
Link copied to clipboard
open val requestContentType: ContentType?
Link copied to clipboard
open val responseContentType: ContentType?
Link copied to clipboard
@SerialName(value = "roomId")
val roomId: RoomId
Link copied to clipboard
@SerialName(value = "to")
val to: String?

Functions

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