I am following this link to integrate Agora Chat SDK using Client API https://docs.agora.io/en/agora-chat/client-api/messages/retrieve-messages?platform=web but it's not returning a list. I have created 2 users and all is working fine like both users can chat but we refresh the page the agora isn't returning a chat list.
Issue is resolved now after contact agora support they told me to add toLowerCase() with the user in open connection call E.g.
WebIM.conn.open(
{
user: username.toLowerCase(),
agoraToken: token,
});