enable Messages Auto Deletion Task
fun enableMessagesAutoDeletionTask( context: Context, enable: Boolean, periodInMilliSecond: Long? = null)
Content copied to clipboard
Call this method to enable or disable the message auto deletion task When enabled, set the period of time after which the messages will be deleted permanently in milli seconds, null otherwise
Parameters
context
The application context
enable
true if the feature is enabled
period In Milli Second
The set period of time defined in milli seconds