is there any method or function to get last message by passing sender id and reciever id between these two user
Hello @flipspot,
You can use CometChat. getConversation(‘RECEIVER_ID’, ‘RECEIVER_TYPE’) to get the conversation Object and each conversation object has the last message. Hope this helps.
Please follow the below link,
Warm Regards,
CometChat Pro
Mayur Bhandari
1 Like
Hi @flipspot,
Hope you are doing well.
I hope the information shared by Mayur was helpful. I am closing out this ticket due to inactivity.
Please feel free to write to us at help@cometchat.com if you require any further assistance.
Regards,
Rahul
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.