getRoomIdByAlias

abstract suspend fun getRoomIdByAlias(roomAlias: String, searchOnServer: Boolean): Optional<RoomAliasDescription>

Resolve a room alias to a room ID.