package com.storlead.message.service;

import com.storlead.framework.mybatis.service.MyBaseService;
import com.storlead.message.pojo.entity.MessageTemplateEventDetailEntity;
import com.storlead.message.pojo.entity.MessageTemplateEventGroupEntity;

import java.util.Map;
import java.util.Set;

/**
 * 消息模板 服务类（域内接口，与实现同置于 biz）。
 *
 * @author chenkq
 * @since 2024-04-19
 */
public interface MessageTemplateEventDetailService extends MyBaseService<MessageTemplateEventDetailEntity> {

    void asynSendMessage(MessageTemplateEventGroupEntity eventGroup, Map messageMap);

    void asynSendMessage(MessageTemplateEventGroupEntity eventGroup, Map messageMap, String... args);

    void asynSendMessage(MessageTemplateEventGroupEntity eventGroup, Map messageMap, Set<Long> toUserIds, String... args);
}
