OdinRoom.constructor

var odinroom = new OdinRoom(token: string)

Creates a new instance of a room with a token. Use OdinClient if you don’t want to manage tokens yourself.

Parameters

NameTypeDescription
tokenstringThe token to use for this room.

See also

OdinRoom