IMessageEventSource 接口 定义消息事件。 继承成员 INotifyAnonymousMessageReceived.AnonymousMessageReceived INotifyUserMessageReceived.UserMessageReceived INotifyGroupMessageReceived.GroupMessageReceived 命名空间: HuajiTech.CoolQ.Events 程序集: HuajiTech.CoolQ.Abstractions.dll 语法 public interface IMessageEventSource : INotifyAnonymousMessageReceived, INotifyUserMessageReceived, INotifyGroupMessageReceived 扩展方法 Extensions.AddMessageReceivedEventHandler(IMessageEventSource, EventHandler<MessageReceivedEventArgs>) Extensions.RemoveMessageReceivedEventHandler(IMessageEventSource, EventHandler<MessageReceivedEventArgs>)