Query conversations

Query a list of conversations

This is how you would query for list of ALL conversations that a user is a member of ...

    .then(conversations => {
        console.log("getConversations() succeeded", conversations);
    .catch(error => {
        console.log("getConversations() failed", error);

There are also some optional arguments to getConversations():

 * Function to get all conversations (not any messages) the user is a participant in
 * @method ConversationManager#getConversations 
 * @param {ConversationScope} [scope] - the conversation scope ["public"|"participant"]
 * @param {string} [profileId] - The profileId to search with
 * @returns {Promise} 

Query a specific conversation

To query the details of a specific conversation with a known conversationId, you can do the following ...

    .then(conversation => {
        console.log("getConversation() succeeded", conversations);
    .catch(error => {
        console.log("getConversation() failed", error);