SendToDevice

@Serializable
data class SendToDevice(val type: String, val txnId: String) : MatrixEndpoint<SendToDevice.Request, Unit>

See also

Constructors

Link copied to clipboard
constructor(type: String, txnId: String)

Types

Link copied to clipboard
data class Request(val messages: Map<UserId, Map<String, ToDeviceEventContent>>)

Properties

Link copied to clipboard
open val requestContentType: ContentType?
Link copied to clipboard
open val responseContentType: ContentType?
Link copied to clipboard
@SerialName(value = "txnId")
val txnId: String
Link copied to clipboard
@SerialName(value = "type")
val type: String

Functions

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