Closed Ankur-2002 closed 2 months ago
Currently, there isn't a method available for accessing the message history from our server.
For instance, while the chat window initializes with the 20 most recent messages, it's not feasible for users to view previous conversations they've had with the bot in the current version.
In our application, we initially send the 20 latest messages. However, if a user wishes to access earlier messages, we provide the previous 20 messages upon request.
We have integrated the thread concept into our application.
I would greatly appreciate any solutions to address this problem.
Thank you in advance.
Hi @Ankur-2002. If I understand correctly, you want the ability to asynchronously download older messages history when the user scrolls up to the currently last displayed message?
Yes, You are right.
Ok, thankyou for your response. At the moment we are preparing for a large new release so new features are currently not considered. Nevertheless, I consider that this could potentially be valuable for deep chat users, hence I will consider adding it in the near future. I will add this to my to-do list, but will have to close the issue for the time being as we we are not sure when we can create this enhancement. My sincere apologies, but please look out for this in the future. Thankyou!
Please add the pagination in the chat window like chat gpt or other AI chat bot. This just a scroll top event that will trigger the function which will get older messages.
Warm regards,
Ankur Chaurasia