GetDehydratedDeviceEvents

@Serializable
data class GetDehydratedDeviceEvents(val deviceId: String, val asUserId: UserId? = null) : MatrixEndpoint<GetDehydratedDeviceEvents.Request, GetDehydratedDeviceEvents.Response>

See also

Constructors

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

Types

Link copied to clipboard
@Serializable
data class Request(val nextBatch: String? = null)
Link copied to clipboard
@Serializable
data class Response(val nextBatch: String, val events: List<ClientEvent.ToDeviceEvent<*>>)

Properties

Link copied to clipboard
@SerialName(value = "user_id")
val asUserId: UserId? = null
Link copied to clipboard
@SerialName(value = "device_id")
val deviceId: String
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: GetDehydratedDeviceEvents.Request?): KSerializer<GetDehydratedDeviceEvents.Request>?
Link copied to clipboard
open fun responseSerializerBuilder(mappings: EventContentSerializerMappings, json: Json, value: GetDehydratedDeviceEvents.Response?): KSerializer<GetDehydratedDeviceEvents.Response>?