mooball
    Preparing search index...

    Type Alias JoinRoomParams

    type JoinRoomParams = {
        authObj: Auth;
        endpoint: string;
        id: string;
        password?: string;
        token?: string;
    }
    Index

    Properties

    authObj: Auth

    An auth object that has to be initialized by Utils.generateAuth() or Utils.authFromKey() before being used here.

    endpoint: string

    The endpoint of the room to join. For example, if the room link is https://moo-hoo.com/mooball/join/ZzZzZzZzZzZzZzZzZz, the endpoint of this room is ZzZzZzZzZzZzZzZzZz.

    id: string

    The id of the room to join. For example, if the room link is https://moo-hoo.com/mooball/join?c=ZzZzZzZzZzZzZzZzZz, the id of this room is ZzZzZzZzZzZzZzZzZz.

    password?: string

    A password value to join the room if the room is password-protected.

    token?: string

    If the room is recaptcha-protected, you have to use a client token. Currently there is not any other clean way of generating this token for Mooball's original backend except using the NW.js token generator project, so you might want to look at it.