is there any method or function to get last message by passing sender id and reciever id between these two user
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,
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 firstname.lastname@example.org if you require any further assistance.
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.