deleteSubChannel

fun deleteSubChannel(subChannelId: String): Completable
fun deleteSubChannel(subChannelId: String, hardDelete: Boolean): Completable

Deprecated

This function is deprecated, please use AmityChatClient.newSubChannelRepository().softDelete() instead

Replace with

import com.amity.socialcloud.sdk.api.chat.subchannel.AmitySubChannelRepository
AmityChatClient.newMessageRepository().softDelete()