ToDeviceService

interface ToDeviceService

Functions

Link copied to clipboard
abstract suspend fun sendEncryptedToDevice(    eventType: String,     targets: Map<String, List<String>>,     content: Content,     txnId: String? = UUID.randomUUID().toString())
Link copied to clipboard
abstract suspend fun sendToDevice(    eventType: String,     contentMap: MXUsersDevicesMap<Any>,     txnId: String? = UUID.randomUUID().toString())

Send an event to a specific list of devices.

abstract suspend fun sendToDevice(    eventType: String,     targets: Map<String, List<String>>,     content: Content,     txnId: String? = UUID.randomUUID().toString())
open suspend fun sendToDevice(    eventType: String,     userId: String,     deviceId: String,     content: Content,     txnId: String? = UUID.randomUUID().toString())