deleteChannels

public final Unit deleteChannels(List<ChannelIdentifier> identifiers, OperationHandler<Boolean> handler)

)

BaseChannel.removeChannels(identifiers) { result, error ->

Parameters

messageIds

Message unique ID List, at most 20

val identifiers = listOf(
ChannelIdentifier(ChannelType.DIRECT, "userId1"),
ChannelIdentifier(ChannelType.GROUP, "groupId1")
)
BaseChannel.removeChannels(identifiers) { result, error ->
if (error == null) {
Channel notification settings
}
}

Usage Example: pushContent = "You received a new message"