This API may be used only when there is no active conversation. This API clears the local database. The history is still available on the server, but won’t be retrieved from the specific device unless a fresh installation is made.
func clearHistory(_ conversationQuery: ConversationParamProtocol) throws
Parameter | Description | Notes |
---|---|---|
conversationQuery | Represents a "filter" for the conversation screen, determining which of the conversations will be displayed in the following screens. | Default: sorts the conversations by account number. See helpers methods above for how to generate a conversation query. |