src/lib/Repositories/SolidLoaderRepository.js
/**
     * Creates a SemanticChat and redirects to loadFromUrl to load its data.
     * @param {string} chatUrl: chat URL.
     * @param {string} userWebId: WebId from the requesting user.
     * @param {string} chatBaseUrl: base URL of the Chat.
     * @returns {Promise}: a promise that resolves with the SemanticChat loaded from the POD.
     */
Creates a SemanticChat and redirects to loadFromUrl to load its data.
@param {string} chatUrl: chat URL.
@param {string} userWebId: WebId from the requesting user.
@param {string} chatBaseUrl: base URL of the Chat.
@returns {Promise}: a promise that resolves with the SemanticChat loaded from the POD.
Creates a SemanticChat and redirects to loadFromUrl to load its data . @param { string } chatUrl : chat URL . @param { string } userWebId : WebId from the requesting user . @param { string } chatBaseUrl : base URL of the Chat . @returns { Promise } : a promise that resolves with the SemanticChat loaded from the POD .
async loadChatFromUrl(chatUrl, userWebId, chatBaseUrl) {
        const chat = new SemanticChat({
            url: chatUrl,
            chatBaseUrl,
            userWebId
        });
        return await this.loadFromUrl(chat, chatUrl);
    }
async loadChatFromUrl ( chatUrl , userWebId , chatBaseUrl ) { const chat = new SemanticChat ( { url : chatUrl , chatBaseUrl , userWebId } ) ; return await this . loadFromUrl ( chat , chatUrl ) ; }
Creates a SemanticChat and redirects to loadFromUrl to load its data.
Creates a SemanticChat and redirects to loadFromUrl to load its data .