class DtpLarkNotifier extends AbstractDtpNotifier {

    public DtpLarkNotifier(Notifier notifier) {
        super(notifier);
    }

    @Override
    public String platform() {
        return NotifyPlatformEnum.LARK.name().toLowerCase();
    }

    @Override
    protected String getNoticeTemplate() {
        return LarkNotifyConst.LARK_CHANGE_NOTICE_JSON_STR;
    }

    @Override
    protected String getAlarmTemplate() {
        return LarkNotifyConst.LARK_ALARM_JSON_STR;
    }

    @Override
    protected Pair<String, String> getColors() {
        return new ImmutablePair<>(LarkNotifyConst.WARNING_COLOR, LarkNotifyConst.COMMENT_COLOR);
    }

    @Override
    protected String formatReceivers(String receives) {<FILL_FUNCTION_BODY>}
}

        return Arrays.stream(receives.split(","))
                .map(r -> StringUtils.startsWith(r, LARK_OPENID_PREFIX) ?
                        String.format(LARK_AT_FORMAT_OPENID, r) : String.format(LARK_AT_FORMAT_USERNAME, r))
                .collect(Collectors.joining(" "));
    
<methods>public void sendAlarmMsg(org.dromara.dynamictp.common.entity.NotifyPlatform, org.dromara.dynamictp.common.em.NotifyItemEnum) ,public void sendChangeMsg(org.dromara.dynamictp.common.entity.NotifyPlatform, org.dromara.dynamictp.common.entity.TpMainFields, List<java.lang.String>) <variables>protected org.dromara.dynamictp.common.notifier.Notifier notifier