class ChannelSubscriberAction extends AdminAction {

    @Override
    public boolean action(Request request, Response response) {<FILL_FUNCTION_BODY>}
}

        if (request.getNettyRequest() instanceof FullHttpRequest) {
            InputSubscribeChannel inputSubscribeChannel = getRequestBody(request.getNettyRequest(), InputSubscribeChannel.class);
            if (inputSubscribeChannel != null
                && !io.netty.util.internal.StringUtil.isNullOrEmpty(inputSubscribeChannel.getChannelId())
                && !io.netty.util.internal.StringUtil.isNullOrEmpty(inputSubscribeChannel.getUserId())) {

                WFCMessage.ListenChannel.Builder builder = WFCMessage.ListenChannel.newBuilder().setChannelId(inputSubscribeChannel.getChannelId()).setListen(inputSubscribeChannel.getSubscribe());
                sendApiMessage(response, inputSubscribeChannel.getUserId(), IMTopic.ChannelListenTopic, builder.build().toByteArray(), result -> {
                    ErrorCode errorCode = ErrorCode.fromCode(result[0]);
                    if (errorCode == ErrorCode.ERROR_CODE_SUCCESS) {
                        return new Result(ErrorCode.ERROR_CODE_SUCCESS);
                    } else {
                        return new Result(errorCode);
                    }
                });
                return false;
            } else {
                setResponseContent(RestResult.resultOf(ErrorCode.INVALID_PARAMETER), response);
            }

        }
        return true;
    
<methods>public non-sealed void <init>() ,public static java.lang.String getSecretKey() ,public cn.wildfirechat.common.ErrorCode preAction(com.xiaoleilu.loServer.handler.Request, com.xiaoleilu.loServer.handler.Response) ,public static void setNoCheckTime(java.lang.String) ,public static void setSecretKey(java.lang.String) <variables>private static final org.slf4j.Logger LOG,private static boolean NO_CHECK_TIME,private static java.lang.String SECRET_KEY