Closed marcosnc08 closed 11 months ago
Keagan (CometChat Team) replied:
Hello there,
Thank you for reaching out. I am Keagan from the Support team.
Can you please share the complete CURL request with us? A video demonstrating the Issue as well would be really helpful.
Regards
Keagan Ellis CometChat
Hey!
This is the CURL request:
curl --request POST \ --url https://246369726b4a0e47.api-us.cometchat.io/v3/messages \ --header 'Content-Type: application/json' \ --header 'User-Agent: insomnia/8.2.0' \ --header 'accept: application/json' \ --header 'apikey: blablabla' \ --header 'content-type: application/json' \ --header 'onBehalfOf: superhero2' \ --data '{ "category": "message", "type": "text", "data": { "text": "Hi Tom!" }, "receiver": "superhero1", "receiverType": "user" }'
After sending the first user from superhero2 to superhero1, I hear the sound of a new message in the chat but I cant see the message on the message list. I only see it after fully refreshing the page.
Keagan (CometChat Team) replied:
Thank you for sharing the CURL request.
As previously mentioned, could you kindly provide us with a video illustrating the problem?
Additionally, could you verify whether you have multiple tabs open with the chat interface? If you do, please close all tabs, open a single tab, log in, and verify if you can still encounter the issue.
Regards
Keagan Ellis CometChat
Describe the problem
What was the expected behavior?
Reproduction
Environment
I would like to know if I am missing something in the docs, or should implement this myself somehow.
Thanks!