FoxoChat.js Packages
    Preparing search index...

    The main hub for interacting with the FoxoChat API.

    Index

    Constructors

    • Parameters

      • Optionaloptions: {
            rest?: {
                authPrefix?: string;
                baseURL: string;
                enforceAuth?: boolean;
                request?: (
                    url: RequestInfo | URL,
                    init: RequestInit,
                ) => Promise<ResponseLike>;
            };
        }

      Returns API

    Properties

    auth: AuthAPI

    A wrapper for the FoxoChat authentication API.

    channel: ChannelAPI

    A wrapper for the FoxoChat channel API.

    common: CommonAPI

    A wrapper for the FoxoChat common API.

    message: MessageAPI

    A wrapper for the FoxoChat message API.

    options: Options

    Configuration options for this instance.

    rest: REST

    The REST client for the FoxoChat API.

    user: UserAPI

    A wrapper for the FoxoChat user API.