sendToDevice

open suspend override fun <C : ToDeviceEventContent> sendToDevice(events: Map<UserId, Map<String, C>>, transactionId: String, asUserId: UserId?): Result<Unit>
open suspend override fun sendToDevice(type: String, events: Map<UserId, Map<String, ToDeviceEventContent>>, transactionId: String, asUserId: UserId?): Result<Unit>

See also

SendToDevice