package com.storlead.message.service;

import com.storlead.framework.common.result.Result;
import com.storlead.message.pojo.entity.MessageTemplateEventDetailEntity;

import java.util.Collection;
import java.util.Map;

/**
 * 企业微信消息发送（域内接口，与实现同置于 biz）。
 */
public interface WechatMessageService {

    Result sendWechatMessage(MessageTemplateEventDetailEntity eventDetail, Map map, Collection<Long> receiverUserIds, String callbackParam);

    Result sendWechatMessage(MessageTemplateEventDetailEntity eventDetail, Map map, Collection<Long> receiverUserIds, String callbackParam, String appCode);
}
