joinRoom

abstract suspend fun joinRoom(    roomIdOrAlias: String,     reason: String? = null,     viaServers: List<String> = emptyList())

Join a room by id.

Parameters

roomIdOrAlias

the roomId or the room alias of the room to join

reason

optional reason for joining the room

viaServers

the servers to attempt to join the room through. One of the servers must be participating in the room.


abstract suspend fun joinRoom(    roomId: String,     reason: String? = null,     thirdPartySigned: SignInvitationResult)

Parameters

roomId

the roomId of the room to join

reason

optional reason for joining the room

thirdPartySigned

A signature of an m.third_party_invite token to prove that this user owns a third party identity which has been invited to the room.