public fun shadowBanUser( userId: String, reason: String? = null, timeout: Int? = null, ) { chatClient.channel(channelId).shadowBanUser(userId, reason, timeout) .enqueue(onError = { chatError -> val errorMessage = chatError.message ?: chatError.cause?.message ?: "Unable to shadow ban the user"  StreamLog.e("MessageListViewModel.shadowBanUser") { errorMessage } }) }
Shadow bans the given user inside this channel.