using System.Threading.Tasks;
using Abp;
using Abp.Notifications;
namespace WeApp.CommonManager.Notifications
{
public interface INotificationManager
{
///
/// 发送欢迎消息
///
///
Task WelcomeToSystemAsync();
///
/// 发送给指定用户消息(info)
///
///
///
///
Task SendMsgAsync(UserIdentifier user, string message);
///
/// 发送给指定用户消息
///
///
///
///
///
Task SendMsgAsync(UserIdentifier user, string message, NotificationSeverity severity);
///
/// 发送某种消息给订阅用户(Info)
///
/// 消息唯一名称
///
///
Task SendMsgAsync(string msgName, string message);
///
/// 发送某种消息给订阅用户
///
/// 消息唯一名称
///
///
///
Task SendMsgAsync(string msgName, string message, NotificationSeverity severity);
///
/// 发送某种消息给指定用户(带发送人)
///
///
///
///
///
///
Task SendMessageAsync(UserIdentifier user, string msgName, SendMsgNotificationData data, NotificationSeverity severity);
///
/// 发送某种消息给订阅用户(带发送人)
///
///
///
///
///
Task SendMessageAsync(string msgName, SendMsgNotificationData data, NotificationSeverity severity);
}
}