Cometchat Widget

Hello @priyadarshini.nadar,

  1. We are using the the chat widget and now we only use the chat options (Meteriod plan).
    Every exhibitor have their own page. We load the chat widget on the page load and assign the chat ID of the exhibitor. Now we have multiple users in that page for whom we have made separate chat IDs. So there will be a list of users with a chat icon beside their name and a visitor can select anybody to chat with. We are not able to dynamically assign the chat ID in here. On page load we are able to load only one widget. How can we handle this ?

  2. How can the users get their chat transcripts/logs to download ?

  3. When we open the chat widget it shows all the users (active or not active) as a list on the left side panel. Is there a way to control the loading of that user list. As we plan to have 5000 total users who may register so if it loads all of them in the left panel its gonna be very slow !!!

Regards,
Bhavneet

Hi @nexzen,
Could you please let us know if you are using the latest chat widget?

Hi @priyadarshini.nadar,

Seems we are using the latest one only…have not recieved any update information. How do we make sure on that ?

Regards,
Bhavneet

Hi @nexzen,
You can refer this documentation: https://prodocs.cometchat.com/docs/chat-widget
for the latest version.

Hi @priyadarshini.nadar,

Oh we were using chat widget from the extensions menu till now.

So you suppose all the points asked before are handled in this widget ?

Regards,
Bhavneet

Hi @nexzen,

1.If you use the latest version of the chat widget, You can have multiple launch methods using the same widget id.

  1. We do provide an endpoint through which you can fetch all the messages of your app and then can export it in any format.
    Kindly refer here for more details-
    https://prodocs.cometchat.com/reference#list-messages
    Maximum of 1000 results can be fetched in a single request.

To fetch the next set of results, you can use the following query string -
/messages?limit=1000&affix=append&id={messageId}

The value of id can be fetched from next attribute of meta object received in the API response of previous result set and affix=append would fetch next set of messages after that particular id.
This way, you can fetch all of your messages from our platform.

  1. There is no provision to filter users based on their active status. It fetches 30 users in a single request.

Hope this answers your query.

1 Like

Hi @priyadarshini.nadar

Thanks for your email. We could solve the multiple chat widgets on the same page thing as we switched to the new widget.

As the chat window opens up in the bottom right corner of the screen we have given options to minimize and close the chat window. But even if we minimize the chat window we are not able to access the background links of that page. anything behind that chat window is not accessible even if we minimize the chat window. We can see all the links and buttons but we are not able to click on it. Like some layer is still active.

Also as asked earlier we are opening a new window wherein the open the chat widget with all the users. In that if say we have 1000 users altogether how much time do you think it will take to load the widget ? how can we reduce the time ?

Regards,
Bhavneet

Hi @nexzen,
Could you please share a screenshot of the error.

Hi @priyadarshini.nadar,

We got the error solved thx.

Major thing remaining for us is the notification of some sort (Ideal would be if the chat window opens up as soon as a new message comes to a user) for a new message if the chat window is not open and just a chat icon is lying on your screen.

Else as asked before , we are opening a new window wherein the open the chat widget with all the users. In that if say we have 1000 users altogether how much time do you think it will take to load the widget ? how can we reduce the time ?

Thanks for all your help Priyadarshini.

Regards,
Bhavneet

Hi @nexzen,

Sorry for the late reply.
We are working on the notifications for chat widget. We’ll update you once we release an update.
All users are not fetched at once. It involves a pagination; 30 users are fetched at a single time.

Let me know if you have further queries.

1 Like