commonMain.net.folivo.trixnity.clientserverapi.model.rooms.GetRelationsResponse.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of trixnity-clientserverapi-model Show documentation
Show all versions of trixnity-clientserverapi-model Show documentation
Multiplatform Kotlin SDK for matrix-protocol
package net.folivo.trixnity.clientserverapi.model.rooms
import kotlinx.serialization.Contextual
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
import net.folivo.trixnity.core.model.events.ClientEvent.RoomEvent
@Serializable
data class GetRelationsResponse(
@SerialName("prev_batch") val start: String? = null,
@SerialName("next_batch") val end: String? = null,
@SerialName("chunk") val chunk: List<@Contextual RoomEvent<*>>,
@SerialName("recursion_depth") val recursionDepth: Long? = null,
)