Search Chat Conversations

Search Message in Recent Chat#

To find a message or similar messages that matches a search term among all conversations call the method below.

    var searchedMessages : [SearchMessage] = ChatManager.shared.searchMessage(text: searchText)
    ArgumentTypeDescription
    textStringtext characters for which search has to happen
    [SearchMessage]List of SearchMessageReturns list of SearchMessage (refer SearchMessage in Class documentation