deleteMessages
expect abstract fun deleteMessages(channels: List<String>, start: Long? = null, end: Long? = null): DeleteMessages
actual abstract fun deleteMessages(channels: List<String>, start: Long?, end: Long?): DeleteMessages
Removes messages from the history of a specific channel.
NOTE: There is a setting to accept delete from history requests for a key, which you must enable by checking the Enable Delete-From-History checkbox in the key settings for your key in the Administration Portal.
Requires Initialization with secret key.
Parameters
channels
Channels to delete history messages from.
start
Timetoken delimiting the start of time slice (exclusive) to delete messages from.
end
Time token delimiting the end of time slice (inclusive) to delete messages from.
actual abstract fun deleteMessages(channels: List<String>, start: Long?, end: Long?): DeleteMessages