48 lines
1.2 KiB
C#
48 lines
1.2 KiB
C#
using Robot.Framework;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Chat.Framework.QQSdk.Events
|
|
{
|
|
/// <summary>
|
|
/// QQ收到群消息事件
|
|
/// </summary>
|
|
public class QQReceiveGroupMsgEvents : QQEvents
|
|
{
|
|
public override string ToString()
|
|
{
|
|
return $"QQ({QQBase.Nickname}【{QQBase.QQ}】)->群消息->{Nickname}({QQ})在[{GroupName}({GroupId})]群说:{Message}";
|
|
}
|
|
/// <summary>
|
|
/// QQ
|
|
/// </summary>
|
|
public uint QQ { get; internal set; }
|
|
/// <summary>
|
|
/// 昵称
|
|
/// </summary>
|
|
public string Nickname { get; internal set; }
|
|
/// <summary>
|
|
/// 消息
|
|
/// </summary>
|
|
public string Message { get; internal set; }
|
|
/// <summary>
|
|
/// 群账号
|
|
/// </summary>
|
|
public uint GroupId { get; internal set; }
|
|
/// <summary>
|
|
/// 群昵称
|
|
/// </summary>
|
|
public string GroupName { get; internal set; }
|
|
|
|
public QQReceiveGroupMsgEvents(QQBase QQBase) : base(QQBase)
|
|
{
|
|
|
|
}
|
|
|
|
|
|
}
|
|
}
|