Backup and Restore is a feature which allows users to backup the chats and able to restore chats.
Whenever you need to backup your chat messages, you can use the below method to start backup. The method will backup all the chats and writes to a file. Once backup completed you can get the backup file path from the
backupDidFinish callback delegate.
|Callback||Backup progress and completeion|
The backup progress and completion callback BackupEventDelegate.
Note : To check if message is available use this method BackupManager.shared.checkIfMessageAvailable().
Whenever you need to restore the chat messages from the backup file, you can use the below method.
|URL||Backup file local path url|
|Callback||Restore progress and completeion|
The backup progress and completion callback