setMessageAutoDeletionDate

open fun setMessageAutoDeletionDate(@NonNull context: Context, autoDeletionDate: Long)

Call this method to set the period of time after which the messages will be deleted permanently in milli seconds.

Deprecated

use instead enableMessagesAutoDeletionTask

See also

Parameters

context

The application context

autoDeletionDate

The set period of time defined in milli seconds