Developer Documentation

OdinClient.JoinNamedRoom

Warning

Version 1.1.0 is deprecated and will be removed in the future and is not being supported for new users. Please update to the latest version as soon as possible.

public async Task<Room> JoinNamedRoom(string roomalias, string token, IUserData userData = null, Action<Room> setup = null)

Join or create a named Room by token via a gateway

Parameters

NameTypeDescription
roomaliasStringRoom alias
tokenStringRoom token
userDataIUserDataSet new on room join
setupAction<Room>will invoke to setup a room before adding or joining

Returns

TypeDescription
Task<Room>or null