createRoomPermalink

abstract fun createRoomPermalink(    roomId: String,     viaServers: List<String>? = null,     forceMatrixTo: Boolean = false): String?

Creates a permalink for a roomId, including the via parameters.

Return

the permalink, or null in case of error

Parameters

roomId

the room id

viaServers

the via parameter

forceMatrixTo

whether we should force using matrix.to base URL