GetRelations

@Serializable
data class GetRelations(val roomId: RoomId, val eventId: EventId, val from: String? = null, val to: String? = null, val limit: Long? = null, val asUserId: UserId? = null) : MatrixEndpoint<Unit, GetRelationsResponse>

See also

Constructors

Link copied to clipboard
constructor(roomId: RoomId, eventId: EventId, from: String? = null, to: String? = null, limit: Long? = null, asUserId: UserId? = null)

Properties

Link copied to clipboard
@SerialName(value = "user_id")
val asUserId: UserId? = null
Link copied to clipboard
@SerialName(value = "eventId")
val eventId: EventId
Link copied to clipboard
@SerialName(value = "from")
val from: String? = null
Link copied to clipboard
@SerialName(value = "limit")
val limit: Long? = null
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? = null

Functions

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