Get updated list of conversation

I am using FetchNext method from ConversationRequest object.

My question is:

Is there any available method to get the updated list of conversation? Because if I try to call the fetch next again, it will get the next batch of conversation.

Hi @srbalan,

You can reinitialise the variable of conversation request and then try fetching the conversation. This would provide you with the updated conversations. You can refer our implementation of conversations in our swift sample app. Here is the link:

Let us know if you have any other doubts / issues. We will be happy to help you.

Regards,
Jeet Kapadia

Hi @jeet.kapadia ,

Thank you for your prompt response. However, I looked in the sample app, however, I can’t see where you use the ConversationRequest. That said, can you send me the exact swift file where you use the ConversationRequest?

Thanks!

Hi @srbalan,

Please search for CometChatConversationList.swift file in the Swift Sample App project. Let me know if you need anything else. I would be happy to assist you.

Regards,
Jeet Kapadia

3 Likes

Thank you @jeet.kapadia :grinning:

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.