enableMessagesAutoDeletionTask

fun enableMessagesAutoDeletionTask(    context: Context,     enable: Boolean,     periodInMilliSecond: Long? = null)

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

periodInMilliSecond

The set period of time defined in milli seconds